0

List of Big-O for PHP functions

The above post states that php isset() function is really close to O(1) rather than O(n) on arrays. I would like to know whether the unset() function is the same as well or is it going to be O(n) on average.

I know this seems to be like a duplicate but I tried searching on Google and on this site but the best I could found was the post above.

Any help would be appreciated.

cr001
  • 453
  • 2
  • 14

0 Answers0