On Sat, 13 Aug 2005, Marcus Boerger wrote:

> Hello Derick,
> 
> Saturday, August 13, 2005, 2:17:52 PM, you wrote:
> 
> > On Fri, 12 Aug 2005, Sara Golemon wrote:
> 
> >> > 7. Make identifiers case-sensitive
> >> >
> >> Or perhaps optionally case sensitive?  I dunno, I've made my peace with PHP
> >> being (mostly) case-insensitive.
> 
> > We can't make it optional... that would be just too much problems for 
> > writing portable scripts.
> 
> hu? How isn't always using the right casing un-portable if allowing
> case-insensitivity also? You mean becuase one might use
> function bullshit()...and
> function Bullshit()...and
> function bullShit()...?
> If so, i guess you know how to write portable apps - test them with
> everything supported - in this case with and w/o case-insensitivity.

Yes, I know how to do that, but I'm not everybody. I already see people 
doing:

function FooBar() {
}

fooBar();

or:

GetImageSize()

in their script. This will work fine if your ini setting says that it is 
allowed, but as soon as you move it to a server where the setting is set 
to off, your application stops working. So there is definitely an issue 
here.

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to