php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37385 _REQUEST['i'] is always 10
Submitted: 2006-05-09 18:44 UTC Modified: 2006-05-09 19:04 UTC
From: waitman at waitman dot net Assigned:
Status: Not a bug Package: Variables related
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
 [2006-05-09 18:44 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-09 18:45 UTC] waitman at waitman dot net
OOPS actual and expected should be reversed. sorry about that.
Waitman
 [2006-05-09 19:04 UTC] waitman at waitman dot net
it's not a bug, it's a boo-boo on my part. sorry about the trouble.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 04:01:30 2024 UTC