Re: PATCH: anonymous functions in PHP

From: Date: Mon, 19 Mar 2007 21:35:50 +0000
Subject: Re: PATCH: anonymous functions in PHP
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-28454@lists.php.net to get a copy of this message
I think the anonymous name having metadata about the __FILE__ __LINE__ __COLUMN__ would be pretty nifty for error messages and debuggers... I'm a bit tired of seeing "Error: blah blah in Unknown on line: 0" personally. :-)
I'd say if it's compiled then the compiler would put there file and line numbers too, just as for the regular function. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#28454) next »