3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting( E_ALL | E_STRICT ); $non_object = false; echo method_exists($non_object,'foo') ? "Impossible\n" : "OK\n";
based on 9TXJp
Output for 5.0.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0alpha1
OK
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/JDFmp on line 2 OK