Re: Seeking 'coalesce' php internal function

From: Date: Thu, 04 May 2006 00:05:39 +0000
Subject: Re: Seeking 'coalesce' php internal function
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-23138@lists.php.net to get a copy of this message
Rick Widmer wrote:
D. Dante Lorenso wrote:
No, that doesn't address the problem. See this:
print @ifsetor($x, $y, $z, "dante")."\n";
point 1: regardless of how people think there should be an ifsetor() in the engine - the devs don't so there wont be one. point 2: anything trying to implement this functionality in userspace is a hack. (to stregethen that stance: Rasmus reiterated the point a few days ago [can't remember which mailinglist] that people should be trying to write *error free* code - ergo the error suppression is not a proper solution) Dante, live with the hack. :-)


« previous php.internals (#23138) next »