Re: highlight_file modification

From: Date: Tue, 17 Sep 2002 07:15:37 +0000
Subject: Re: highlight_file modification
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.dev 
Request: Send a blank email to php-dev+get-88358@lists.php.net to get a copy of this message
I'm still wondering about that weird little "bug" in the parser that causes a newline to be added/returned at the end of the last line. It's really making the line numbers look stupid when you have no blank like after the end of the script. 22: ?> 23: I do understand your issues with i18n not being present in Zend, although I do wonder if it'd be necessary to have a show source function in PHP to handle i18n... it seems a bit sluggish to make everything in a core translated. And, in that case, the only problem I'm having is with the extra line number :) Oh yeah, I'm trying to write an extension for xls2xml (to translate an Excel spreadsheet to XML, quite good actually), but buildconf doesn't seem to be recognizing my config.m4. I'm following the instructions as given in the ext_skel script. Devon Yasuo Ohgaki wrote:
Modules are better to be independent from each other. Making Zend and PHP depend each other is not a good idea. Therefore, I would like to leave phps alone for now until Zend became fully I18N at least. Make sense? -- Yasuo Ohgaki Devon O'Dell wrote:
I've implemented a lot better code output in this. Would you like to help me implement mbfilter into this (if it's supported in the spoken php build) where necessary. The buffer code is already tweaked, I added 2 output functions specifically for the highlighting (just slightly modified versions of zend_html_puts and zend_html_putc, called zend_highlight_puts and zend_highlight_putc) because it just works better and it doesn't break anything outside the highlighting functions that relies on the html_put* functions. Currently, the page isn't even HTML compliant. That's changed in my patched version, I expect to complete that today. Anyway, later Devon


« previous php.dev (#88358) next »