3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 0 => array( 'name' => 'John Doe', 'email' => 'john@example.com' ), 1 => array( 'name' => 'Jane Doe', 'email' => 'jane@example.com' ), ); print_r($array[0][0]);
Output for 5.3.0 - 7.1.0
Notice: Undefined offset: 0 in /in/65N9V on line 12
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 0 in /in/65N9V on line 12