Re: Seeking 'coalesce' php internal function
| From: | Rick Widmer | Date: | Wed, 03 May 2006 08:37:51 +0000 |
| Subject: | Re: Seeking 'coalesce' php internal function | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23135@lists.php.net to get a copy of this message | ||
D. Dante Lorenso wrote:
Eric, This reply is too basic and is not the answer. The problem is more complex then you have grasped.function ifsetor() { $args = func_get_args(); $count = count( $args ); for( $i=0; $i<$count; $i++ ) { if isset( $args[ $i ] )) {
return $args[ $i ];} return false; }