3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors', true); error_reporting(E_ALL | E_STRICT); $meh = array(); $meh[0][1][2] = 5; print_r($meh);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [1] => Array ( [2] => 5 ) ) )
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/3CuZ4 on line 3 Array ( [0] => Array ( [1] => Array ( [2] => 5 ) ) )