ID: 27861 User updated by: nospam at unclassified dot de Reported By: nospam at unclassified dot de -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Linux PHP Version: 4.3.5 New Comment:
OK, sorry for this report, I found the bug confirmed on the suPHP mailing list... Previous Comments: ------------------------------------------------------------------------ [2004-04-05 11:28:17] nospam at unclassified dot de Update: I found out the problem goes away when I disable suPHP (yes, didn't think of that; info: www.suphp.org). I'm currently over the suPHP source hoping to find the problem there. ------------------------------------------------------------------------ [2004-04-04 17:18:47] nospam at unclassified dot de Description: ------------ When I request a PHP script with the last GET parameter empty, e.g. http://server/file.php?var1=1&var2= the entire $_GET array will be empty. This does not apply for Windows, I can only see this bug on Linux. Adding another variable or simply a & at the URL solves the problem. I'm using Apache 2.0.49 webserver. Reproduce code: --------------- file.php: <?php var_dump($_GET); ?> call this in your browser: file.php?var1=1&var2= Expected result: ---------------- something like "array (var1 => 1, var2 => )" Actual result: -------------- array () ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27861&edit=1