On Tue, 2003-10-07 at 14:29, Leif K-Brooks wrote:
> Robert Cummings wrote:
> 
> >Directly from the docs:
> >
> >    http://ca3.php.net/manual/en/function.return.php
> >
> >First line:
> >
> >    "If called from within a function, the return() statement
> >     immediately ends execution of the current function"
> >
> >Important concept:
> >
> >    IMMEDIATELY returns.
> >
> >Learn to read.
> >  
> >
> What does that have to do with anything?

How can you possibly test, in a conditional, the return value of the
return statement itself when it has no value to return and even causes
the current scope to exit IMMEDIATELY??

Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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

Reply via email to