3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "A"; $b = "1S"; print_r($a<=>$b);
based on 5J9MO
Output for 7.0.0 - 7.2.0
1
Output for 5.3.21 - 5.6.21
Parse error: syntax error, unexpected '>' in /in/kpugZ on line 5
Process exited with code 255.