3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo decbin(E_ALL); echo "\n"; echo decbin(E_STRICT); echo "\n"; echo decbin(E_DEPRECATED); echo "\n"; echo decbin(E_ALL & ~E_DEPRECATED); echo "\n"; echo decbin(E_ALL | E_STRICT); echo "\n"; echo decbin((E_ALL | E_STRICT) & ~E_DEPRECATED);
Output for 5.4.0 - 7.1.0
111111111111111 100000000000 10000000000000 101111111111111 111111111111111 101111111111111
Output for 5.3.0 - 5.3.29
111011111111111 100000000000 10000000000000 101011111111111 111111111111111 101111111111111
Output for 5.2.0 - 5.2.17
1011111111111 100000000000 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 7 0 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 12 0 1111111111111 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 16 0
Output for 5.0.0 - 5.1.6
11111111111 100000000000 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 7 0 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 12 0 111111111111 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 16 0
Output for 4.3.0 - 4.4.9
11111111111 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/dpYAZ on line 5 0 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 7 0 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 12 0 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/dpYAZ on line 14 11111111111 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/dpYAZ on line 16 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/dpYAZ on line 16 0