Re: Patches and Extensions and Such
| From: | Wez Furlong | Date: | Wed, 18 Sep 2002 11:23:34 +0000 |
| Subject: | Re: Patches and Extensions and Such | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88383@lists.php.net to get a copy of this message | ||
Hi Devon,
Although I personally never use .phps, I'm +1 on implementing this
the way you have suggested.
Yasuo: I don't like .phps either, but this is quite a clean approach
in the face backwards compatibility.
Since we are not likely to ever remove phps, taking highlight file
into user-space just to add line numbers seems like an unneccessary
exercise in coding, both for php-dev and for the end-user, especially
when one of the intended uses of this feature is to help newbies with
their code.
Remember that PHP is intended to make web developers lives easier!
--Wez.
On 09/18/02, "Devon O'Dell" <devon@sitetronics.com> wrote:
> Considering I've written this, I think I've done the research. You
> *don't* configure x-application/x-httpd-php-source-with-line-number
> or whatever. When you view the .phps (or .php script with
> highlight_file()), if you have accessed the page with a trailing
> ?HIGHLIGHT_FORMAT=lineno, you get line numbers. This was
> the general consensus of how this feature should work if it were to
> be adopted as ini entries were frowned upon.
...
> Just to be fair, I'd ask what people are thinking about this "feature"
> now, is anyone else still +anything about it? Additionally, if you
> are + about it, is the ?HIGHLIGHT_FORMAT check decent?