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;
}

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

Reply via email to