3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function testArgs($foo = null, $bar = null) { return prinq_r($foo . ' - ' . $bar) } testArgs('1', '2', '3');
Output for 7.0.28 - 7.3.0rc3
Parse error: syntax error, unexpected '}', expecting ';' in /in/B6crS on line 6
Process exited with code 255.
Output for 5.6.38
Parse error: syntax error, unexpected '}' in /in/B6crS on line 6
Process exited with code 255.