return from the middle of a include file
| From: | Mysql Account | Date: | Wed, 26 Jul 2000 19:08:52 +0000 |
| Subject: | return from the middle of a include file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8375@lists.php.net to get a copy of this message | ||
Hi all,
Have a question. How can I return from the middle of a include file ?
I have a php script calling package.inc which is 2000 lines. At the
beginning I check if package.inc has been included before. How can I
get out of the package.inc (php not pass the rest 2000 lines) ?
Using return ?
Thanks in advance,
HZ