3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // https://bugs.php.net/bug.php?id=12257 $array = array_values(array("name"=>"Sheldon","age"=>"42")); list($a,$b) = $array; // taking cue from phpwtf.org var_dump($a);
Output for 4.3.0 - 7.1.0
string(7) "Sheldon"