3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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].';'); ?>
based on neMXn
Output for 7.0.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function import_request_variables() in /in/n7ib2:9 Stack trace: #0 {main} thrown in /in/n7ib2 on line 9
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Call to undefined function import_request_variables() in /in/n7ib2 on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Output for 4.3.2 - 5.2.17
Notice: import_request_variables(): No prefix specified - possible security hazard in /in/n7ib2 on line 9
Output for 4.3.0 - 4.3.1
Notice: import_request_variables() [http://www.php.net/function.import-request-variables]: No prefix specified - possible security hazard in /in/n7ib2 on line 9