3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (array() < (object)array()) { echo 'what the fuck'; }
Output for 5.2.0 - 7.1.0
what the fuck
Output for 5.1.0 - 5.1.6
Notice: Object of class stdClass could not be converted to int in /in/cGZlh on line 2
Output for 4.3.0 - 5.0.5