PHP 4.0 Bug #7363 Updated: @include supresses parse errors within included file
| From: | stas@php.net | Date: | Sun, 05 Nov 2000 16:48:32 +0000 |
| Subject: | PHP 4.0 Bug #7363 Updated: @include supresses parse errors within included file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37193@lists.php.net to get a copy of this message | ||
ID: 7363
Updated by: stas
Reported By: adam@elysium.ltd.uk
Status: Analyzed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Well, I don't know if it's an intended behaviour - I'll check this. In the meantime,
you can use error_reporting function to re-enable error reporting.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-20 05:17:32] adam@elysium.ltd.uk
When using...
@include
...or...
@include_once
...to supress a warning if the file to be included does not exist, all parse errors/warnings within
that file are also supressed (Resulting in very hard to debug code, or having to use is_File with
every include that might not exist).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7363