3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.0
C<br> C<br> C<br>
Process exited with code 137.
Output for hhvm-3.10.0 - 3.12.0
<br> <br> <br>
Process exited with code 137.
Output for 4.3.1
C<br> C<br>
Process exited with code 137.