Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43264 invoked by uid 1010); 23 Nov 2007 18:09:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43248 invoked from network); 23 Nov 2007 18:09:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2007 18:09:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:36417] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/15-02479-D5717474 for ; Fri, 23 Nov 2007 13:09:34 -0500 Received: from [192.168.1.34] (ppp91-77-47-108.pppoe.mtu-net.ru [91.77.47.108]) by daylessday.org (Postfix) with ESMTP id D7ADB64018B; Fri, 23 Nov 2007 21:09:28 +0300 (MSK) Message-ID: <47471754.1040406@daylessday.org> Date: Fri, 23 Nov 2007 21:09:24 +0300 User-Agent: Thunderbird 2.0.0.9 (X11/20071114) MIME-Version: 1.0 To: Ken Stanley CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Quick question before submitting a feature request... From: tony@daylessday.org (Antony Dovgal) On 22.11.2007 06:12, Ken Stanley wrote: > I have > corrected my mistake so that it will use trigger_error() instead of throwing > an exception. However, in my Google searches I have noticed that there are a > lot of people having somewhat similar problems, but without an easy > solution. My feature request would be to include the filename and possibly > even the line number where this last exception was thrown from. The execution phase is finished at the moment when exception handlers and shutdown functions are called. No script is executing -> no line & filename info anymore -> filename = Unknown, line = 0. -- Wbr, Antony Dovgal