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[0]["akash"]);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [name] => Array ( [0] => akash [1] => jag [2] => rahul ) [id] => Array ( [0] => 1 [1] => 2 [2] => 3 ) [age] => Array ( [0] => 22 [1] => 22 [2] => 22 ) )
Output for 4.3.0 - 4.4.9
Array ( [name] => Array ( [0] => akash [1] => jag [2] => rahul ) [id] => Array ( [0] => 1 [1] => 2 [2] => 3 ) [age] => Array ( [0] => 22 [1] => 22 [2] => 22 ) ) Notice: Undefined offset: 0 in /in/XAFmC on line 8