3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ini_set('display_errors', 1); $data = 'string'; if (!is_array($data) || !isset($data[$field])) { die('REACHED!'); } echo $data['no'];
Output for 4.3.0, 5.4.38 - 7.1.0
REACHED!
Output for 4.3.5 - 5.4.37
Warning: ini_set() has been disabled for security reasons in /in/4biop on line 3 REACHED!
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/4biop on line 3 REACHED!