International PHP Conference Munich 2025

Voting

: min(six, two)?
(Example: nine)

The Note You're Voting On

sip at email dot ee
21 years ago
Note, that using array_key_exists() is rather inefficient. The overhead associated with calling a function makes it slower, than using isset($array[$key]), instead of array_key_exists($key, $array)
using isset() is usually about 1.3 times faster, according to my tests.

<< Back to user notes page

To Top