3v4l.org

run code in 200+ 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]['name']);
Output for 4.3.0 - 7.2.0
John Doe