3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php assert('false && (1 > 2 <=> 3)');
based on HScJo
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/RE30F on line 3 Warning: assert(): Assertion "false && (1 > 2 <=> 3)" failed in /in/RE30F on line 3
Output for 7.0.0 - 7.1.10
Warning: assert(): Assertion "false && (1 > 2 <=> 3)" failed in /in/RE30F on line 3
Output for 5.4.12 - 5.6.28
Parse error: syntax error, unexpected '<=' (T_IS_SMALLER_OR_EQUAL) in /in/RE30F(3) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: false && (1 > 2 <=> 3) in /in/RE30F on line 3
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected T_IS_SMALLER_OR_EQUAL in /in/RE30F(3) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: false && (1 > 2 <=> 3) in /in/RE30F on line 3
Process exited with code 255.