3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo eval('return E_ALL ^ E_NOTICE ^ E_WARNING ^ E_STRICT ^ E_DEPRECATED;'); echo PHP_EOL; echo eval('return E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED;');
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
22517 22517
Output for 5.3.0 - 5.3.29
24565 22517
Output for 5.2.0 - 5.2.17
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(3) : eval()'d code on line 1 8181 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(5) : eval()'d code on line 1 0
Output for 5.0.2 - 5.0.5, 5.1.0 - 5.1.6
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(3) : eval()'d code on line 1 4085 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(5) : eval()'d code on line 1 0
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(3) : eval()'d code on line 1 4085 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/KYgjR on line 4 PHP_EOL Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(5) : eval()'d code on line 1 0
Output for 4.3.10 - 4.3.11, 4.4.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/KYgjR(3) : eval()'d code on line 1 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(3) : eval()'d code on line 1 2037 Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/KYgjR(5) : eval()'d code on line 1 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(5) : eval()'d code on line 1 0
Output for 4.3.0 - 4.3.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/KYgjR(3) : eval()'d code on line 1 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(3) : eval()'d code on line 1 2037 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/KYgjR on line 4 PHP_EOL Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/KYgjR(5) : eval()'d code on line 1 Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in /in/KYgjR(5) : eval()'d code on line 1 0

preferences:
198.03 ms | 402 KiB | 310 Q