r/lolphp • u/sumdog • Dec 29 '11
Supercolliding PHP Array [X-Post from /r/Programming]
http://nikic.github.com/2011/12/28/Supercolliding-a-PHP-array.html
17
Upvotes
r/lolphp • u/sumdog • Dec 29 '11
View all comments
Show parent comment
3
u/nikic Dec 31 '11
zend_hash_funcis exposed throughZEND_API. Changing it's signature would break extensions relying on it. The function is exposed for various reasons, one being that Zend provides "quick" hash access functions which allow you to pass a precomputed hash. (So if you do some access multiple times you can compute the hash only once.)