3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); //of the INI constants (On, Off, True, False, Yes, No and None) foreach([["Shit"=>"On"],["Shit"=>"Off"],["Shit"=>"True"],["Shit"=>"False"],["Shit"=>"Yes"],["Shit"=>"No"],["Shit"=>"None"]] as $key=>$val) { var_dump($key,$val,ini_set($key,$val),ini_get($key)) }
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '}' in /in/PsMlI on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected '[' in /in/PsMlI on line 4
Process exited with code 255.