3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL | E_STRICT); $meh = array(); $meh[0][1][2] = 5; print_r($meh);
Output for 5.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/sEktI on line 2 Array ( [0] => Array ( [1] => Array ( [2] => 5 ) ) )