Re:PHP 7's new hashtable implementation
by the_mitsuhiko on Tuesday December 23, 2014 @05:40AM
(#8787597)
It does internally. Pretty sure that's even defined in the standard.
[ Parent
| on HN ]
Re:PHP 7's new hashtable implementation
by gsnedders on Tuesday December 23, 2014 @07:53PM
(#8791030)
No, it doesn't. The only magic per spec is about the "length" property (which is essentially a getter/setter pair, despite being a data property and not an accessor pair). That's the only thing special about arrays in JS.
Re:PHP 7's new hashtable implementation
by cgrand-net on Tuesday December 23, 2014 @06:25AM
(#8787726)
If you can't observe a difference, does it matter?