3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'go forrest'; function recursiveFunction($value = 100) { if ($value % 2 = $value) { return $value; } return recursiveFunction($value % 2); } echo recursiveFunction(); echo 'stop forrest';
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '=' in /in/nuLK0 on line 5
Process exited with code 255.