3v4l.org

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