3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(''[0]); var_dump(''[1]);
based on TLVrU
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
Notice: Uninitialized string offset: 0 in /in/f2L5X on line 3 string(0) "" Notice: Uninitialized string offset: 1 in /in/f2L5X on line 4 string(0) ""