3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
0
Output for hhvm-3.10.0

Process exited with code 153.
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