Re: quick question about using capital letters coding w/ PHP
| From: | Richard Lynch | Date: | Mon, 25 Jul 2005 01:07:08 +0000 |
| Subject: | Re: quick question about using capital letters coding w/ PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219279@lists.php.net to get a copy of this message | ||
On Sun, July 24, 2005 11:39 am, Dotan Cohen said:
> On 7/24/05, Bruce Gilbert <webguync@gmail.com> wrote:
>> I am well versed in coding with xhtml which requires all lower case
>> and am pretty much a newbie at PHP so that is why I am asking this
>> question.
>>
>> is this acceptible
>>
>> if ($_post [sender_email] == "") or does at have to be if ($_POST
>> [sender_email] == "")
>>
>> in short, do uppercase and lowercase always have the same meaning.
>>
>> thx,
>>
>
> PHP is case-sensitive. UppERCase is NOT the same as uppercase. HTML is
> not case sensitive only because browsers are forgiving.
PHP variables are case-sensitive.
PHP FUNCTIONS are not.
You're on your own figuring out if class names/methods are/aren't
case-sensitive this week. :-v
--
Like Music?
http://l-i-e.com/artists.htm