3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php putenv('LANG=ja_JP.UTF-8'); setlocale(LC_ALL, 'C'); var_dump(setlocale(LC_ALL, "0")); var_dump(gethostbynamel("xxx.invalid")); var_dump(setlocale(LC_ALL, "0"));
based on 3cLGa
Output for 4.3.0 - 7.2.0
string(1) "C" bool(false) string(1) "C"