Re: [PHP] or return problem

2003-10-07 Thread Pat Carmody
o return a value if istrue() failed, otherwise I wanted to continue in the scope of the function. That may not have been obvious because the example was a little contrived. Pat Carmody -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] or return problem

2003-10-07 Thread Pat Carmody
basic syntax page that addresses this. Pat Carmody On Tue, 7 Oct 2003, Robert Cummings wrote: >On Tue, 2003-10-07 at 13:02, Pat Carmody wrote: >> >> >> Calling the following retor_test() function causes a "Parse error: parse >> error, unexpected T_RETURN" mess

[PHP] or return problem

2003-10-07 Thread Pat Carmody
ith the "or return" part. Any ideas why? I realize that I could use an if statement instead, but I'm a lazy, lazy man and I don't want to. Pat Carmody -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php