#37385 [Opn->Bgs]: _REQUEST['i'] is always 10
| From: | waitman at waitman dot net | Date: | Tue, 09 May 2006 19:04:52 +0000 |
| Subject: | #37385 [Opn->Bgs]: _REQUEST['i'] is always 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96868@lists.php.net to get a copy of this message | ||
ID: 37385
User updated by: waitman at waitman dot net
Reported By: waitman at waitman dot net
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: Linux
PHP Version: 5.1.4
New Comment:
it's not a bug, it's a boo-boo on my part. sorry about the trouble.
Previous Comments:
------------------------------------------------------------------------
[2006-05-09 18:45:41] waitman at waitman dot net
OOPS actual and expected should be reversed. sorry about that.
Waitman
------------------------------------------------------------------------
[2006-05-09 18:44:35] waitman at waitman dot net
Description:
------------
$_REQUEST['i'] is always equal to 10
tested on 5.1.2 and 5.1.4
noticed this over SSL/https connection.
Reproduce code:
---------------
<?php
echo $_REQUEST['i'].'<br />
'.$_GET['i'].'<br />
';
?>
Expected result:
----------------
http://example.com/test.php?i=43
10
43
Actual result:
--------------
http://example.com/test.php?i=43
43
43
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37385&edit=1