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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: al at webjazz dot de
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 12:03:35 2021 UTC