Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50606 invoked by uid 1010); 17 Jul 2006 14:43:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50590 invoked from network); 17 Jul 2006 14:43:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2006 14:43:39 -0000 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 65.111.164.201 danica.alphaweb.net Linux 2.4/2.6 Received: from ([65.111.164.201:50134] helo=danica.alphaweb.net) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 16/E8-11992-B12ABB44 for ; Mon, 17 Jul 2006 10:43:39 -0400 Received: from talos.alphaweb.net ([69.12.155.129] helo=vait) by danica.alphaweb.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.50) id 1G2UJ9-0004Oa-F8; Mon, 17 Jul 2006 10:42:51 -0400 Message-ID: <000001c6a9af$5d73d100$8f051fac@vait> To: "Jeff Moore" Cc: References: <347185750.20060715202622@marcus-boerger.de> <002c01c6a888$19b133e0$8f051fac@vait> <3228902ffeb3f76f56afad7e58490abd@procata.com> Date: Sun, 16 Jul 2006 22:09:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Re: Long awaited line directive From: pollita@php.net ("Sara Golemon") >> One minor thought I'd offer up is an option INI setting to disable >> creation of the opcode. This allows the #line directives to be used in >> dev/debug environments without causing an impact for production servers >> during execution. It's not a major performance hit, but it's something. >> > Why not leave it up to the user land code generator to include the > directive in the debug version or generate without it in the production > version? > Indeed. This suggestion was cross-wired with another thought when an enable/disable switch made more sense. For the sake of code-generators it does make more sense to simply not generate the line during pre-compile. -Sara