3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php setlocale(LC_ALL, 'el_GR.UTF-8'); var_dump(ord('λ')); var_dump(ord('l')); echo iconv('ASCII', 'ASCII', 'Το ελληνικό κείμενο εδώ');
Output for 5.3.7 - 5.5.34, 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.14 - 7.1.0
int(206) int(108) Notice: iconv(): Detected an illegal character in input string in /in/D6in9 on line 5
Output for 7.0.6
int(206) int(108) Fatal error: Uncaught Error: Call to undefined function iconv() in /in/D6in9:5 Stack trace: #0 {main} thrown in /in/D6in9 on line 5
Process exited with code 255.
Output for 5.5.35, 5.6.21
int(206) int(108) Fatal error: Call to undefined function iconv() in /in/D6in9 on line 5
Process exited with code 255.