Doc #51702 [Opn]: documentation is incorrect for recent PHP versions
| From: | philip@php.net | Date: | Fri, 30 Apr 2010 18:19:37 +0000 |
| Subject: | Doc #51702 [Opn]: documentation is incorrect for recent PHP versions | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4289@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51702&edit=1
ID: 51702
Updated by: philip@php.net
Reported by: php dot net at dynamicink dot com
Summary: documentation is incorrect for recent PHP versions
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
New Comment:
But some directives differ between those two files, and in those cases,
which is
the default value?
At any rate, maybe I'm crazy, but I still think php-src dictates the
default, as
opposed to those two idealistic php.ini files.
Previous Comments:
------------------------------------------------------------------------
[2010-04-30 20:05:26] php dot net at dynamicink dot com
I see default as what works after base installation which usually
includes a php.ini file - I just checked the 5.3.2 package and both
php.ini files (php.ini-development & php.ini-production) have magic
quotes off by default.
Your point about manageability is certainly relevant although that could
also apply to every changed feature documented within PHP :)
------------------------------------------------------------------------
[2010-04-30 19:56:19] philip@php.net
Your concern makes sense but this would get complicated fast, as there
are two
php.ini-* files with different values. And maybe a third will be added?
And
which do you consider the default?
I feel the default value must be the actual default value in php-src,
and not
from one of several distributed php.ini files.
Although in this particular MQ case, we should likely lose the "(it's on
by
default)" string because it may eventually be forgotten/wrong over time.
------------------------------------------------------------------------
[2010-04-30 19:30:48] php dot net at dynamicink dot com
Okay, so this is may in fact be technically-accurate, but perhaps not
intuitive, since most users will likely use the php.ini and leave the
default magic_quotes_gpc setting.
Your thoughts?
------------------------------------------------------------------------
[2010-04-30 15:39:40] philip@php.net
Actually, they are on by default still. Default values are determined by
what PHP
does without a php.ini.
------------------------------------------------------------------------
[2010-04-30 08:06:05] php dot net at dynamicink dot com
Description:
------------
http://us2.php.net/manual/en/function.stripslashes.php
Text says "...magic_quotes_gpc is on (it's on by default)..."
Magic quotes are no longer on by default
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51702&edit=1