3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj1 = new stdClass; $obj2 = new stdClass; assert($obj1 != $obj2); assert($obj1 !== $obj2);
Output for 7.0.0 - 7.1.0
Warning: assert(): assert($obj1 != $obj2) failed in /in/N3Mjk on line 4
Output for 5.0.0 - 5.6.28
Warning: assert(): Assertion failed in /in/N3Mjk on line 4
Output for 4.3.2 - 4.4.9
Warning: assert(): Assertion failed in /in/N3Mjk on line 4 Warning: assert(): Assertion failed in /in/N3Mjk on line 5
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/N3Mjk on line 4 Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/N3Mjk on line 5