3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a == $b ? 0 : ($a > $b ? 1 : -1);
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: a in /in/bvEur on line 3 Notice: Undefined variable: b in /in/bvEur on line 3
Output for 5.3.18 - 5.6.28
Notice: Undefined variable: b in /in/bvEur on line 3 Notice: Undefined variable: a in /in/bvEur on line 3