3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A{ function true(){ return true; } function false(){ return false; } function t(){ assert($this->true() === $this->false()); } } $x = new A; $x->t();
Output for 7.0.0 - 7.2.0
Warning: assert(): assert($this->true() === $this->false()) failed in /in/Q8ZUB on line 9
Output for 5.3.20 - 5.6.28
Warning: assert(): Assertion failed in /in/Q8ZUB on line 9