Re: [PHP-DEV] Re: Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Adam Ashley wrote: I sometimes get the following error >> Fatal error: Exception thrown without a stack frame in >> Unknown on line 0 What does this mean? When we see these, they're typically from our custom session handler. In my experience that error is almost certainly in a piece of y

Re: [PHP-DEV] Re: Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Adam Ashley wrote: I sometimes get the following error >> Fatal error: Exception thrown without a stack frame in >> Unknown on line 0 What does this mean? When we see these, they're typically from our custom session handler. In my experience that error is almost certainly in a piece of y

Re: [PHP-DEV] Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Richard Lynch wrote: I would guess that an exception is getting thrown before you PHP script has actually started... Something in the parsing of GET/POST data or file upload handler, perhaps. Definitely not. I was just testing my Logging class in Zend Studio. So no input GET/POST data were p

Re: [PHP-DEV] Exception thrown without a stack frame

2007-06-30 Thread Jakob Buchgraber
Okay, I can now reproduce the problem. Here is the code: I couldn't reproduce it before as I didn't assign the instance of Foo to a variable, however Christian Hoffmann pointed me out that I need to do this in order to get the desired error. - Jakob -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] Exception thrown without a stack frame

2007-06-30 Thread Ralph Schindler
I've run into this before.. essentially, you can't do that ;) http://us2.php.net/language.oop5.decon (second note) Nor, can you throw exceptions anytime after the engine starts shutting down. -ralph Jakob Buchgraber wrote: Okay, I can now reproduce the problem. Here is the code: I couldn't

[PHP-DEV] Interpolated strings and memory (Bug 40122) (Was: [PHP-DOC] cvs: phpdoc /en/language types.xml)

2007-06-30 Thread Matt Wilmas
Hi Gwynne, all, I think this "parsing variables within strings..." note should be removed, as it's incorrect/misleading as far as I can tell. First, I was never able to repeat the behavior with the code in the bug report months ago, nor am I now (no matter what I try). Second, and more important