0
I have an array that can be any size, an example below:
Array
(
[0] => 40631
[1] => 40626
[2] => 40622
[3] => 40633
[4] => 59632
[5] => 40630
[6] => 40623
[7] => 40627
[8] => 40628
[9] => 54828
[10] => 40623
[11] => 40630
[12] => 42623
[13] => 54318
)
When informing any value, for example the number 50000, should return me the amount of values that has at least 50000.
In this example the function must return: 3
As this array can have N sizes and can receive any value to search for the array, how to search for the quantity and with the best performance?
Thanks! Really in this form became simpler and met what needed.
– Bruno Carvalho Silva Correa