3v4l.org

run code in 200+ 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,$b);
Output for 4.3.0 - 7.1.7
string(7) "Sheldon" string(2) "42"