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].';'); ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.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.4.45, 5.5.24 - 5.5.35, 5.6.7 - 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 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 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

preferences:
59.49 ms | 411 KiB | 5 Q