3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class lol{} $obj = new lol(); if( $lol != 1 ) echo "test";
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: lol in /in/PUjoY on line 4 test
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: lol in /in/PUjoY on line 4 test