3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($a, $b, $unused, $unused) { } foo( 2, 'hello' , 'world' );
based on lCtkM
Output for 7.0.0
Fatal error: Redefinition of parameter $unused in /in/vA0uG on line 2
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Warning: Missing argument 4 for foo(), called in /in/vA0uG on line 5 and defined in /in/vA0uG on line 2