It's a reserved word so I doubt it'll break scripts.

Andi

At 05:37 PM 7/12/2004 +0200, Marcus Boerger wrote:
Hello Derick,

Monday, July 12, 2004, 11:21:06 AM, you wrote:

> On Mon, 12 Jul 2004, Sebastian Bergmann wrote:

>> Andi Gutmans wrote:
>> > How about default($var, expr)?
>>
>>   It might be a good idea to decide on a name for the construct before
>>   the PHP 5.0.0 release in order to make it a reserved word (marked for
>>   future use).

> Agreed, and I also like default()

The problem with default() is that there will be tons of scripts out there
that will be broken by this. Hence i'd like to see a more non intuitive
name (like the ifsetor). Probably getvalue() was the best compromise so
far.

Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

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

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



Reply via email to