|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9415 post variables are case sensitiv
Submitted: 2001-02-22 20:19 UTC Modified: 2001-02-22 20:25 UTC
From: bugs at sels dot com Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugs at sels dot com
New email:
PHP Version: OS:


 [2001-02-22 20:19 UTC] bugs at sels dot com
as far as I know php is not case sensitive. if I wan?t to access post vars it is.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-22 20:25 UTC]
The very first line of the Variables section of the manual:

  Variables in PHP are represented by a dollar sign followed by the name of the 
  variable. The variable name is case-sensitive. 

It is at:

A quick test can often help you figure these types of things out:

$bob['fred'] = 'One';
$bob['Fred'] = 'Two';
echo $bob['fred'] . "\n" . $bob['Fred'];

Hope this helps,

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 24 07:03:34 2021 UTC