3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.0
bool(false)
Output for hhvm-3.10.0 - 3.12.0
bool(false) Failed to exec: `locale -a'
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