3v4l.org

run code in 300+ PHP versions simultaneously
<?php # # Things should work even if register_globals is set to off # $testVer=intval(str_replace(".", "",'4.1.0')); $curVer=intval(str_replace(".", "",phpversion())); if( $curVer >= $testVer ) import_request_variables('GPC'); @header('Content-type: text/html; charset='.$config[general_charset].';'); ?>

preferences:
37.46 ms | 406 KiB | 5 Q