3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr_pie = [ 'test', 'another', 'thing', ]; foreach(array_get_keys($arr_pie) AS $int_snuggle_bunny){ $obj_fuckwit = $arr_pie[pow($int_snuggle_bunny * $int_snuggle_bunny, .5)]; var_dump($obj_fuckwit); }
Output for 7.0.0 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function array_get_keys() in /in/7GvSs:9 Stack trace: #0 {main} thrown in /in/7GvSs on line 9
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Fatal error: Call to undefined function array_get_keys() in /in/7GvSs on line 9
Process exited with code 255.