Re: New construct discussion Summary (was: what happened to that new isset() like language construct)

From: Date: Tue, 13 Jul 2004 05:32:23 +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 10  Groups: php.internals 
Request: Send a blank email to internals+get-11149@lists.php.net to get a copy of this message
Hello Andi, wow i didn't remember seeing that. So with default being a reserved word to me it seems like one of the best choices. Monday, July 12, 2004, 10:01:47 PM, you wrote: > 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:helly@php.net

« previous php.internals (#11149) next »