3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_STRICT ^ E_DEPRECATED); var_dump(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(22517) int(22517)
Output for 5.3.0 - 5.3.29
int(24565) int(22517)
Output for 5.2.0 - 5.2.17
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 3 int(8181) Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 4 int(0)
Output for 5.0.0 - 5.1.6
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 3 int(4085) Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 4 int(0)
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/jC961 on line 3 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 3 int(2037) Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/jC961 on line 4 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/jC961 on line 4 int(0)