3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); ini_set('display_errors', 'On'); if (!empty($output[1][0])) { echo 'test'; } else { echo 0; }
Output for 4.3.0, 5.4.34 - 7.1.7
0
Output for 4.3.5 - 5.4.32
Warning: ini_set() has been disabled for security reasons in /in/ThmDr on line 4 0
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/ThmDr on line 4 0