Re: Function returning but continues execution

From: Date: Tue, 23 Jan 2007 01:47:39 +0000
Subject: Re: Function returning but continues execution
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-247590@lists.php.net to get a copy of this message
On Tue, 2007-01-23 at 02:43 +0100, Jochem Maas wrote: > > there is no way in hell that [a released version of] php is so borked that it's capable > returning a value from a function and then going on to running code that occurs in the function > after the return statement that returned the value. no way, no how. Borked for PHP sure... but there are languages where that semantic is perfectly valid :) Cheers, 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 (#247590) next »