Bug #7363 Updated: @include supresses parse errors within included file
| From: | jmoore@php.net | Date: | Sun, 17 Jun 2001 08:51:02 +0000 |
| Subject: | Bug #7363 Updated: @include supresses parse errors within included file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56952@lists.php.net to get a copy of this message | ||
ID: 7363
Updated by: jmoore
Reported By: adam@elysium.ltd.uk
Old-Status: Analyzed
Status: Closed
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.3pl1
Assigned To:
Comments:
We have now standardised the behaviour (I cant actually remember what we decided but this was done
in 4.0.5, I think we suppressed everything on the implementation side but not on the code side)
- James
Previous Comments:
---------------------------------------------------------------------------
[2000-11-05 11:48:32] stas@php.net
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.
---------------------------------------------------------------------------
[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).
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7363&edit=2