On Sun, 17 Aug 2003, Heilig (Cece) Szabolcs wrote:
> Hello!
>
> Here are some appereances of return in examples:
>
> return 0;
> // 0 aren't variable, it's an expression.
> // should it be return (0); ?
no, why?
>
> return ($a < $b) ? -1 : 1;
> // expression, i think return (($a < $b) ? -1 : 1); is the
> // right choice
Yes
(This is exactly what I meant in an earlier email).
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php