3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[1][2][3] = text; $a[1][2][4] = text; print_r($a);
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant text - assumed 'text' in /in/NCmGs on line 3 Notice: Use of undefined constant text - assumed 'text' in /in/NCmGs on line 4 Array ( [1] => Array ( [2] => Array ( [3] => text [4] => text ) ) )