Re: or return problem

From: Date: Tue, 07 Oct 2003 19:04:44 +0000
Subject: Re: or return problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-165353@lists.php.net to get a copy of this message
On Tue, 2003-10-07 at 15:00, Jason Wong wrote: > > The example given by Leif does not even run. You get a parse error. So all the > discussion about return exiting immediately and the left expression > evaluating to whatever is (IMHO) moot. Apparently PHP does not allow you to > use return like that, period. > Yep. 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. | `------------------------------------------------------------'

« previous php.general (#165353) next »