3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo a() : int { return(1.05); }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected 'a' (T_STRING), expecting '(' in /in/rgXih on line 3
Process exited with code 255.

preferences:
175.12 ms | 1395 KiB | 22 Q