¡@

Home 

php Programming Glossary: my_array_ref

Why is array_key_exists 1000x slower than isset on referenced arrays?

http://stackoverflow.com/questions/6337893/why-is-array-key-exists-1000x-slower-than-isset-on-referenced-arrays

my_array . stop start .PHP_EOL unset my_array my_array_ref start stop i my_array array start microtime TRUE for i 1 i 10000.. print isset my_array . stop start .PHP_EOL unset my_array my_array_ref start stop i my_array array start microtime TRUE for i 1 i 10000.. print isset_ my_array . stop start .PHP_EOL unset my_array my_array_ref start stop i my_array array my_array_ref my_array start microtime..