3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors',"2\"\n"); var_dump(ini_get('display_errors'));
based on m6agh
Output for 4.3.0, 5.4.35 - 5.6.28, 7.0.0 - 7.1.0
string(3) "2" "
Output for hhvm-3.12.0
string(1) "1"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.5 - 5.4.34
Warning: ini_set() has been disabled for security reasons in /in/Uh06l on line 3 string(1) "1"
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/Uh06l on line 3 string(1) "1"