3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo E_ALL ^ E_NOTICE ^ E_DEPRECATED; echo PHP_EOL; echo E_ALL & ~E_NOTICE & ~E_DEPRECATED;
Output for 5.4.0 - 7.1.0
24567 24567
Output for 5.3.0 - 5.3.29
22519 22519
Output for 5.2.0 - 5.2.17
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 3 6135 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 5 0
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.1.6
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 3 2039 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 5 0
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 3 2039 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/iqMA3 on line 4 PHP_EOL Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/iqMA3 on line 5 0