3v4l.org

run code in 300+ PHP versions simultaneously
<?php function GetLongestString() { return max(array_map(strlen, func_get_args())); } GetLongestString("a", "aaa", "aa")
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected end of file in /in/eFqUG on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected $end in /in/eFqUG on line 9
Process exited with code 255.

preferences:
168.54 ms | 1395 KiB | 47 Q