Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28454 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27365 invoked by uid 1010); 19 Mar 2007 21:36:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27348 invoked from network); 19 Mar 2007 21:36:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2007 21:36:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:20569] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/34-01604-B320FF54 for ; Mon, 19 Mar 2007 16:35:56 -0500 Received: from [127.0.0.1] ([192.168.16.109]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Mar 2007 14:35:53 -0700 Message-ID: <45FF0236.8080306@zend.com> Date: Mon, 19 Mar 2007 14:35:50 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: ceo@l-i-e.com CC: Wez Furlong , internals@lists.php.net References: <86478A67-DCA2-4000-9EF0-DA4338E8389B@omniti.com> <45FDF031.4010508@zend.com> <45FE2312.1050506@zend.com> <45FED6D9.8030307@caedmon.net> <45FEDAE5.2010309@zend.com> <43306.216.230.84.67.1174339585.squirrel@www.l-i-e.com> In-Reply-To: <43306.216.230.84.67.1174339585.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Mar 2007 21:35:53.0243 (UTC) FILETIME=[920A16B0:01C76A6E] Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP From: stas@zend.com (Stanislav Malyshev) > 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/