3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array(1,2,3); echo reset(array_keys($array));
based on NCqnS
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/ZAncM on line 4 0
Output for 5.3.18 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/ZAncM on line 4 0