3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = "barbaz"; var_dump($foo[3:6]);
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ':', expecting ']' in /in/5Z3b1 on line 5
Process exited with code 255.