Re: catching parse error.
| From: | _lallous | Date: | Wed, 21 Nov 2001 06:48:23 +0000 |
| Subject: | Re: catching parse error. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75360@lists.php.net to get a copy of this message | ||
hmm...never tried it but maybe this works:
try to include the class via eval()
like: @eval("include ('$filetoinclude');");
and use the control operators w/ them?
"Aaron" <aarmel@netagi.com> wrote in message
news:3BFB9BB8.70005@netagi.com...
> ok what I want to do if possible is....
>
> i have file index.php
>
> then I include the file x.class
>
> now. index.php calls x.class
>
> IF x.class has a parse error just return false to index.php?
> or just return nothing,
>
> But dont stop the execution of index.php Is this possible?
>