3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('hhvm.enable_zend_sorting', 0); define("thisIsVeryBigKeyName0",0); define("thisIsVeryBigKeyName1",1); $a=array(); for ($n=0;$n<100000;$n++){ $a[]=array(thisIsVeryBigKeyName0=>0,thisIsVeryBigKeyName1=>1); } foreach ($a as $a2){ $test=$a2[thisIsVeryBigKeyName0].$a2[thisIsVeryBigKeyName1]; }
based on a1bGP
Output for 4.3.0 - 7.2.0