3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('TEST_CONST', true); $f1 = function() { return extension_loaded('pdo'); }; $f2 = function() { return TEST_CONST; }; $f1(); $f2(); extension_loaded('pdo'); TEST_CONST;
based on i1Nl9
Output for 5.3.17 - 7.2.0