3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php exec('locale', $o); echo implode(', ', $o), "\n"; $почему = '?'; var_dump($почему);
based on kWnTm
Output for 4.3.0, 5.4.45 - 7.2.0
string(1) "?"
Output for 5.4.40 - 5.4.44
string(1) "?" sh: 1: locale: not found
Output for 4.3.1 - 5.4.39
LANG=C, LC_CTYPE="C", LC_NUMERIC="C", LC_TIME="C", LC_COLLATE="C", LC_MONETARY="C", LC_MESSAGES="C", LC_PAPER="C", LC_NAME="C", LC_ADDRESS="C", LC_TELEPHONE="C", LC_MEASUREMENT="C", LC_IDENTIFICATION="C", LC_ALL= string(1) "?"