3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function retour1($parametre="OK") { return $parametre } function retour2($parametre) { if (!$parametre) { $parametre="OK"; } return $parametre; } echo retour1(); echo retour2();
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '}' in /in/kLgVt on line 2
Process exited with code 255.