3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting("E_NONE"); class Something{}; var_dump(new Something() + new Something() + new Something());
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
int(3)
Output for hhvm-3.10.0 - 3.12.0
Warning: error_reporting() expects parameter 1 to be integer, string given in /in/jeB7D on line 2 Notice: Object of class Something could not be converted to int in /in/jeB7D on line 5 Notice: Object of class Something could not be converted to int in /in/jeB7D on line 5 Notice: Object of class Something could not be converted to int in /in/jeB7D on line 5 int(3)
Output for 4.3.2 - 5.0.5

Process exited with code 255.
Output for 4.3.0 - 4.3.1