Re: Long awaited line directive

From: Date: Sun, 16 Jul 2006 03:29:42 +0000
Subject: Re: Long awaited line directive
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-24409@lists.php.net to get a copy of this message
attached is a patch that brings the '#line' directive to php. This is especially usefull for parser generators or any other code shuffling/generator tools. Any opinions? If nothing speaks against i'd like to commit this before heading towards OSCON be end of next week. (oatch is against head of course). Marcus-
Thanks for pounding this out, I think this is an excellently timed counterpart to the four letter word and should serve code generators very well. 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. -Sara

« previous php.internals (#24409) next »