On Sun, 2003-08-17 at 07:39, Heilig (Cece) Szabolcs wrote:
> Hello!
> 
> >> return 0;
> >> // 0 aren't variable, it's an expression.
> >> // should it be return (0); ?
> >
> > no, why?
> 
> If we got the rules strictly, 0 is an expression, not a
> variable. But that's a really basic expression :)
> 
> What about arrays?

I agree with Derick. What is the problem with this? It doesn't matter
at all what kind of expression appears after the 'return', but some
expression must (unless you want to return null).


-- 
 Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
 http://www.thebuttlesschaps.com          http://www.inflatableeye.com
 http://www.hybrid17.com                  http://www.themainonmain.com
 -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----




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

Reply via email to