php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-22 20:25 UTC] torben@php.net
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: http://www.php.net/manual/en/language.variables.php

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

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


Hope this helps,

Torben
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Sep 20 08:01:27 2019 UTC