3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_NONE); class Something{}; var_dump(new Something() + new Something() + new Something());
Output for 7.2.0
Warning: Use of undefined constant E_NONE - assumed 'E_NONE' (this will throw an Error in a future version of PHP) in /in/sbAtu on line 2 int(3)
Output for 5.1.0 - 7.1.10
Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in /in/sbAtu on line 2 int(3)
Output for 4.3.2 - 5.0.5
Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in /in/sbAtu on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in /in/sbAtu on line 2