3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d1 = new stdClass(); $d1->true = 1; $d2 = new stdClass(); $d1->true = 2; var_dump($d1 == $d2); var_dump($d1 > $d2); var_dump($d1 < $d2);
Output for 4.3.0 - 7.1.0
bool(false) bool(true) bool(false)