FRC: html_erros and docref_root

From: Date: Sun, 16 Mar 2003 22:35:10 +0000
Subject: FRC: html_erros and docref_root
Groups: php.internals 
Request: Send a blank email to internals+get-65@lists.php.net to get a copy of this message
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

« previous php.internals (#65) next »