3v4l.org

run code in 300+ PHP versions simultaneously
<?php funtion addnumber($a,&b) { $c = $a + $b; $result = $c ; } print addnumber(2,5); ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'addnumber' (T_STRING) in /in/8RlOV on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/8RlOV on line 2
Process exited with code 255.

preferences:
183.41 ms | 1386 KiB | 62 Q