Hi all
I have changed the default ini value for html_errors to 0.
I think default ini settings should work for production boxes and noone should
have html_errors=On for those.
The second thing i changed is that errors are no longer pointing to any
documentation if either html_erros=0 or docref_root=''.
BUT now we (ok I) changed behavior of phpinfo(), too. However phpinfo()
shouldn't have been bound to html_errors in first place. Plase also see
http://bugs.php.net/bug.php?id=21007 and i am not the only one saying
that this should be solved in another way.
The reason i changed the behavior is that (stupid) people use features made
to make development life easier (namely html_errors=1 and docref_root=...)
on production boxes AND that we got the first bugreport that way. YES
someone filed in a bugreport by clicking on a doref'ed html error and clicking
like hell on php.net to finally find bugs.php.net....
Since the docref stuff is there to make developers life easier i thing removing
it would be the worst opportunity. If you however feel that option is good i
guess you are very egocentric and make developers life harder -> ask yourself
why php is popular (not everyone knows php as good as we).
A quick solution would be to make docref_root default to '' so there are also
no links to the manual.
But from my point of view the only thing to do is fix bug 21007.
However i do not see it as such a big problem to receive one bogus bugreport.
enough written on that (feel free to comment on every paragraph)
marcus
>
>
> >But from my point of view the only thing to do is fix bug 21007.
>
> So are you fixing it?
>
Yeah i'll add something to PG() and set it different from
CLI and blabla...ok? What's my timeframe for the 4.3.2
or do we skip it for that version and take a 'dirty' approach
there?
marcus