3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function eh($type, $message, $file, $line, $context) { echo (int) isset($context['GLOBALS']); } set_error_handler('eh'); $a->b;
Output for 5.4.0 - 7.1.0
00
Output for 5.0.0 - 5.3.29
11
Output for 4.3.0 - 4.4.9
0