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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Dec 14 21:01:23 2019 UTC