3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(`locale -a`);
Output for 5.4.45 - 7.4.0
NULL
Output for 5.4.39 - 5.4.44
NULL sh: 1: locale: not found
Output for 4.3.1 - 5.4.38
string(8) "C POSIX "
Output for 4.3.0
string(0) ""