These similar php functions have params in THE EXACT OPPOSITE ORDER.
bool array_key_exists ( mixed $key , array $search )
http://au2.php.net/array_key_exists
bool property_exists ( mixed $class , string $property )
http://au2.php.net/property_exists
Stick THAT up your PAAMAYIM NEKUDOTAYIM. (Or "double colon" in phpspeak/Hebrew...)
Fremnet contributed some more examples:
http://au2.php.net/strpos
http://au2.php.net/in_array
http://au.php.net/array_map
http://au2.php.net/array_filter
No comments:
Post a Comment