php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16304 Missing Error Messages
Submitted: 2002-03-27 02:43 UTC Modified: 2002-07-01 01:00 UTC
From: al at webjazz dot de Assigned:
Status: No Feedback Package: *Programming Data Structures
PHP Version: 4.1.2 OS: RedHat Linux 7.2
Private report: No CVE-ID: None
 [2002-03-27 02:43 UTC] al at webjazz dot de
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 03:24 UTC] mfischer@php.net
Are you completely sure you have error_reporting(E_ALL); all the time?

If so, the only way we can help is if you paste some short, self-contained examples which reproduce the problem you expirience.
 [2002-07-01 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC