3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('error_reporting', E_ALL ); putenv('LC_ALL=ru_RU.UTF-8'); putenv('LANG=ru_RU'); putenv('LANGUAGE=ru_RU'); setlocale (LC_ALL, "ru_RU.UTF-8"); for($i=0; $i<7; $i++){ echo setlocale(LC_ALL, 0) . "<br>\n"; sleep(1); } ?>
Output for 4.3.0, 4.3.2 - 7.2.0
C<br> C<br> C<br>
Process exited with code 137.
Output for 4.3.1
C<br> C<br>
Process exited with code 137.