Re: Is the case of <?php important in any way?
| From: | Richard Quadling | Date: | Mon, 26 Apr 2010 14:12:18 +0000 |
| Subject: | Re: Is the case of <?php important in any way? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304610@lists.php.net to get a copy of this message | ||
On 26 April 2010 15:08, Daniel Brown <danbrown@php.net> wrote:
> On Mon, Apr 26, 2010 at 04:51, Richard Quadling
> <rquadling@googlemail.com> wrote:
>> Hi.
>>
>> I've recently come across some third party code which uses ...
>>
>> <?PHP
>>
>> as the PHP tag.
>>
>> This is the first time I've seen PHP in upper case for the tag.
>>
>> The code works in V5, so, from this, I can assume the tag is read case
>> insensitive.
>>
>> Are there any issues with this when moving forward?
>
> Â Â Glance through some of the user notes on the site and you'll see
> that some folks prefer to use UPPER-CASE <?PHP as opposed to
> lower-case <?php. Â It's always worked just fine. Â In fact, I remember
> a PHP3 site that someone wrote (.phtml and .php3 files!) that used
> UPPER-CASE in every file, including for variables and functions. Â I
> don't remember having to modify that part to work (but thinking how
> much I'd love to break the person's CAPS LOCK off the keyboard
> permanently).
>
>> When Unicode support is re-committed to trunk, does case sensitivity
>> become part of this?
>
> Â Â From this, I gather you meant to send this to Internals, but
> still, I wouldn't anticipate any change in case-sensitivity regarding
> any part of the engine that hasn't yet required such. Â Opening tags,
> functions, operators, et cetera. Â User-defined things like variables
> will be case-sensitive, of course, but only the lamest of the lame
> would appreciate otherwise. Â ;-P
>
> --
> </Daniel P. Brown>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ || ‚>k
> X€cÃ_7™¬«�Ôhttp://www.pilotpig.net/
> We now offer SAME-DAY SETUP on a new line of servers!
>
Thanks Dan.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling