3v4l.org

run code in 300+ PHP versions simultaneously
<?php $diff = ord('λ')-ord('l'); $text = 'Το ελληνικό κείμενο εδώ'; for ($i = 0; $i < strlen($text); $i++) { echo chr(ord($text[$i]) - $diff) }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/k72RQ on line 8
Process exited with code 255.

preferences:
184.37 ms | 1395 KiB | 63 Q