3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php assert('1 > 2 <=> 3');
based on sPcro
Output for 7.2.0
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/SIGhO on line 3
Output for 7.0.0 - 7.1.10
Output for 5.4.12 - 5.6.28
Parse error: syntax error, unexpected '<=' (T_IS_SMALLER_OR_EQUAL) in /in/SIGhO(3) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: 1 > 2 <=> 3 in /in/SIGhO 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/SIGhO(3) : assert code on line 1 Catchable fatal error: assert(): Failure evaluating code: 1 > 2 <=> 3 in /in/SIGhO on line 3
Process exited with code 255.