Bug #16304: Missing Error Messages
| From: | al at webjazz dot de | Date: | Wed, 27 Mar 2002 07:43:35 +0000 |
| Subject: | Bug #16304: Missing Error Messages | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3458@lists.php.net to get a copy of this message | ||
From: al@webjazz.de
Operating system: RedHat Linux 7.2
PHP version: 4.1.2
PHP Bug Type: *Programming Data Structures
Bug description: Missing Error Messages
Hi,
I wonder if anyone can tell me, when php is not able
anymore to throw error messages?
I am having a function which is responsible for including
class definitions which then again require/include their
specific sub-classes or whatever.
At some point in the process, php loses it's ability to
throw error messages. It just would not return anything if
there is an parse error. Which makes debugging a hell.
I could not find any rule when I can include what?
I found: Including a class definition inside a others class
method, does not work.
I found Including a class definition inside a function
seems work.
But if this class is again including files, e.g. language
files, these do not respond to errors properly.
Is there a way to avoid this? Any guidelines here? Or may
be a bug?
Regards,
Alex
--
Edit bug report at http://bugs.php.net/?id=16304&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16304&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16304&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16304&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16304&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16304&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16304&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16304&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16304&r=submittedtwice