Re: Is the case of <?php important in any way?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 April 2010 15:08, Daniel Brown <danbrown@xxxxxxx> wrote:
> On Mon, Apr 26, 2010 at 04:51, Richard Quadling
> <rquadling@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx
> http://www.parasane.net/ || 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux