Hello!

Here are some appereances of return in examples:

return 0;
// 0 aren't variable, it's an expression.
// should it be return (0); ?

return ($a < $b) ? -1 : 1;
// expression, i think return (($a < $b) ? -1 : 1); is the
// right choice

It's ok?

Cece



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to