3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function link_to_route() {var_dump(func_get_args);} echo link_to_route('play', 'Play!', null, ['class' => 'btn btn-lg btn-block btn-success']);
Output for 5.4.0 - 7.1.0
Notice: Use of undefined constant func_get_args - assumed 'func_get_args' in /in/lam6I on line 1 string(13) "func_get_args"
Output for 5.3.9 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/lam6I on line 1
Process exited with code 255.