3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setlocale(LC_ALL, 'C'); var_dump(setlocale(LC_ALL, "0")); $list = gethostbynamel("xxx.invalid"); var_dump(setlocale(LC_ALL, "0"));
based on 5eNFX
Output for 4.3.0 - 7.2.0
string(1) "C" string(1) "C"