Re: feature request

From: Date: Mon, 19 Mar 2001 21:10:56 +0000
Subject: Re: feature request
Groups: php.dev 
Request: Send a blank email to php-dev+get-49399@lists.php.net to get a copy of this message
Andi said: >isset() is not an internal function but a language construct. I disagree on >the "using additional arguments for other stuff part". It's often very >weird that functions behave differently according to the way they are >called I've just done a quick count of the php functions which take an optional extra argument to change their behaviour, and I stopped when I reached 100. Fair enough, isset is a language construct, but most of the other isblahs/ext_isblahs are functions, however your average php programmer won't even know what this means, let alone be able to discriminate. My point is that if you are going to do it to isset, AND the language is to become more orthogonal then it MUST also be done to isanythingelse. I can see that there are no nasty repercussions with using the technique for isset, however there are many many isanythingelses and I'd be surprised if we can apply the reasoning across the board. I don't want to stifle innovation here, I just want us to think beyond the immediate problem when the language gets extended. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.dev (#49399) next »