3v4l.org

run code in 300+ PHP versions simultaneously
<?php function CE50($x) { $CE50 = str_replace("a", ")`", x); $CE50 = str_replace("b", "(~", $CS50); $CE50 = str_replace("c", "*`", $CS50); $CE50 = str_replace("d", "&~", $CS50); $CE50 = strrev(substr($CE50, 0, 50)) return $CE50; } echo CE50("abccbaaabc"); ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'return' (T_RETURN) in /in/tvln9 on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_RETURN in /in/tvln9 on line 10
Process exited with code 255.

preferences:
184.49 ms | 1395 KiB | 64 Q