3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('FOO', NULL); var_dump(defined('FOO::bar'));
Output for 4.3.5 - 5.2.3, 5.2.13 - 7.1.0
bool(false)
Output for 5.2.4 - 5.2.12
Fatal error: Class 'FOO' not found in /in/tUY0j on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.4
int(0)