3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( setlocale(LC_ALL, 'pl_PL.UTF-8') ); echo `locale -a`;
Output for 4.3.0, 5.4.45 - 7.2.0
bool(false)
Output for 5.4.39 - 5.4.44
bool(false) sh: 1: locale: not found
Output for 4.3.1 - 5.4.38
bool(false) C POSIX