3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $students=array( "name"=>array("akash","jag", "rahul"), "id"=>array(01,02,03), "age"=>array(22,22,22), ); /*print_r($students); unset($students["name"][0]); print_r($students);*/ print_r(array_values($students)); //print_r(array_keys($students));
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
Array ( [0] => Array ( [0] => akash [1] => jag [2] => rahul ) [1] => Array ( [0] => 1 [1] => 2 [2] => 3 ) [2] => Array ( [0] => 22 [1] => 22 [2] => 22 ) )
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/jQ6Os on line 12
Process exited with code 255.