Re: [Zend Engine 2] Suggestion/request for error handling

From: Date: Fri, 29 Mar 2002 10:50:49 +0000
Subject: Re: [Zend Engine 2] Suggestion/request for error handling
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81916@lists.php.net to get a copy of this message
On Thu, 28 Mar 2002, Andi Gutmans wrote: > At 14:40 28/03/2002 +0100, Alexander Wirtz wrote: > >Ok, this is maybe neither exactly the right place nor very important, but > >I've noticed a topic that I find wanting in PHP: Error handling in classes. > > > >When you have a class, that is used in different files or if you create > >multiple instances of it, you're running into trouble trying to determine > >from which file or which line the class method was called, as __LINE__ and > >__FILE__ are local variables. So it would be very convenient, to have some > >kind of call stack like it exists in Java(script). > > > >Is this totally utopic, or is there at least some kind of interest in such > >a feature? > > > There has been interest in such a feature. I'm planning to get something > done in this direction. I already did this in an PHP extension. It's about ready to commit. Derick

« previous php.dev (#81916) next »