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).

That was a stupid question from me to clear all issues :)
There is no problem with return. The problem is how to handle
"array".
I am ready to revert all modifications with array, but need
to know is's okay to all to revert back all array() to array ().

Cece




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

Reply via email to