Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2427 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1842 invoked by uid 1007); 19 Jun 2003 14:48:05 -0000 Message-ID: <20030619144805.1841.qmail@pb1.pair.com> To: internals@lists.php.net Reply-To: jay@php.net Mail-Copies-To: jay@php.net Date: Thu, 19 Jun 2003 10:48:03 -0400 References: <000d01c3365e$978b4b60$0601a8c0@pii> <001601c33665$fe667470$0601a8c0@pii> Lines: 16 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 216.94.11.234 Subject: Re: Another easy question From: jay@php.net (Jay Smith) Oriol wrote: > > Thank you!! > And... how could I know which PHP file is being executed and which > line > I'm on? Is there any simple way of getting it? > > Oriol > > Take a look at zend_error() in zend.c, where it says "Obtain relevant filename and lineno". J