3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo E_ALL & ~E_DEPRECATED; echo "\n"; echo E_ALL | E_STRICT; echo "\n"; echo E_ALL | E_STRICT & ~E_DEPRECATED;
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
24575 32767 32767
Output for 5.3.0 - 5.3.29
22527 32767 32767
Output for 5.2.0 - 5.2.17
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 3 0 8191 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 7 6143
Output for 5.0.0 - 5.1.6
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 3 0 4095 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 7 2047
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 3 0 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/me6ts on line 5 2047 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/me6ts on line 7 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/me6ts on line 7 2047