RE: FW: [PHP-DEV] Long awaited line directive
| From: | Zeev Suraski | Date: | Fri, 11 Aug 2006 22:24:54 +0000 |
| Subject: | RE: FW: [PHP-DEV] Long awaited line directive | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25326@lists.php.net to get a copy of this message | ||
At 22:15 11/08/2006, Richard Lynch wrote:
On Fri, August 11, 2006 4:30 am, Zeev Suraski wrote: The solution I propose is to create internal functions that will set 'virtual' filenames and line ranges, that will be saved in some sort of a translation table, of real filename + line range to virtual filename + lineno. The error callback can be made smarter to search in the translation table, and in case of a match, report the virtual filename:linenumber in addition to the real ones. This would be a lot more appealing if it also always referenced the original filename and line number as well:That's what I said! :) "report the virtual filename:linenumber -=>in addition<=- to the real ones" Zeev