return issues
| From: | Cece) Szabolcs | Date: | Sun, 17 Aug 2003 13:56:56 +0000 |
| Subject: | return issues | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969355885@lists.php.net to get a copy of this message | ||
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