RE: [PHP] Break, Exit, Die, Kill, Maime and Stab

From: Date: Thu, 03 Jul 2003 12:35:32 +0000
Subject: RE: [PHP] Break, Exit, Die, Kill, Maime and Stab
Groups: php.general 
Request: Send a blank email to php-general+get-153869@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jeff Moser [mailto:jmoser@ihigh.com] > Sent: 03 July 2003 13:07 > > So...why not write the entire included file as a function and > then call that > function instead of using include? I'd be interested, though, > to hear if the > return broke out of the include. Well, it damn well better, as the manual page at http://www.php.net/include says it does! (You can return a value, as well, if you really must.) Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#153869) next »