3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class lol{} $obj = new lol(); if( $obj != 1 ) echo "test";
Output for 5.1.0 - 7.1.0
Notice: Object of class lol could not be converted to int in /in/svBRb on line 4
Output for 4.3.0 - 5.0.5
test