3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php setlocale('en_US.utf8'); var_dump(escapeshellarg('hello worldé'));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: setlocale() expects at least 2 parameters, 1 given in /in/MSRA7 on line 3 string(13) "'hello world'"
Output for hhvm-3.10.0 - 3.12.0
Warning: setlocale() expects exactly 2 parameters, 1 given in /in/MSRA7 on line 3 string(15) "'hello worldé'"
Output for 5.2.6 - 5.2.17
Warning: Wrong parameter count for setlocale() in /in/MSRA7 on line 3 string(13) "'hello world'"
Output for 4.3.0 - 5.2.5
Warning: Wrong parameter count for setlocale() in /in/MSRA7 on line 3 string(15) "'hello worldé'"