3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(-3.0782857142857 <=> -0.95178571428571); var_dump(bccomp(-3.0782857142857, -0.95178571428571));
based on WWoBu
Output for 7.3.0alpha1 - 7.3.0beta1
int(-1) Fatal error: Uncaught Error: Call to undefined function bccomp() in /in/LW31N:4 Stack trace: #0 {main} thrown in /in/LW31N on line 4
Process exited with code 255.
Output for hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.2.6
int(-1) int(-1)
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '>' in /in/LW31N on line 3
Process exited with code 255.