Re: New construct discussion Summary (was: what happened to that new isset() like language construct)
| From: | Andi Gutmans | Date: | Mon, 12 Jul 2004 20:01:47 +0000 |
| Subject: | Re: New construct discussion Summary (was: what happened to that new isset() like language construct) | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11134@lists.php.net to get a copy of this message | ||
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: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,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).Marcus mailto:helly@php.net-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php