From:             [EMAIL PROTECTED]
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

Reply via email to