3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array("a", "b", "c", "d", "e"); echo implode('-', array_slice($a, 2)); echo implode('-', array_slice($a, -2, 1)); a) a-ba
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ')' in /in/QLeCI on line 6
Process exited with code 255.