Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89977 invoked by uid 1010); 17 Jul 2006 22:13:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89962 invoked from network); 17 Jul 2006 22:13:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2006 22:13:42 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:44448] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 49/E8-11992-6320CB44 for ; Mon, 17 Jul 2006 17:33:42 -0400 Received: from baumbart.mbo (dslb-084-063-021-240.pools.arcor-ip.net [84.63.21.240]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 3E32235C1F8; Mon, 17 Jul 2006 23:33:37 +0200 (CEST) Date: Mon, 17 Jul 2006 23:33:48 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <697792544.20060717233348@marcus-boerger.de> To: Sara Golemon Cc: Jeff Moore , internals@lists.php.net In-Reply-To: <000001c6a9af$5d73d100$8f051fac@vait> References: <347185750.20060715202622@marcus-boerger.de> <002c01c6a888$19b133e0$8f051fac@vait> <3228902ffeb3f76f56afad7e58490abd@procata.com> <000001c6a9af$5d73d100$8f051fac@vait> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Long awaited line directive From: helly@php.net (Marcus Boerger) Hello Sara, Monday, July 17, 2006, 7:09:30 AM, you wrote: >>> 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. That is actually the preferred solution. An additional opcode does not have any impact on the runtime. So having the ocode linger around doesn't do anything. Which is the same for regenerating the code without #line directives. On the contray adding a new ini setting affects every request so i guess the answer is quite obvious. Best regards, Marcus