Re: Re: Long awaited line directive

From: Date: Mon, 17 Jul 2006 05:09:30 +0000
Subject: Re: Re: Long awaited line directive
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-24431@lists.php.net to get a copy of this message
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

« previous php.internals (#24431) next »