hi
[...]
> I believe the default should be its current behaviour (for backward
> compatability, and to prevent unexpected change)... but I do think there
> should be an ini option so that .phps files can have this functionality.
[...]
+1 on that.

[...]
> Having line numbers on a .phps file would enable us to support users MUCH
> better just by asking them to rename the file from .php to .phps and give
> us the URL. We then say "your missing a ; on line 52". Much easier than
> trying to navigate them to the "if halfway down the screen".

+1, too.

>
> If you can think of an alternative way to enable / disable the
> modifications suggested other than using a php.ini entry...  ;)
[...]

wouldn't it be better to let the viewer decide, if line numbers should appear 
or not. This wouldn't break BC and also would not be needed to be enabled on 
any server. Maybe we could use a GET Param on this (only for the .phps's) 
like:

http://localhost/test.phps?linenumbers=0
http://localhost/test.phps?linenumbers=1

in which we would default linenumbers to zero.

Best regards
Sascha

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to