[PHP-DOC] #37373 [Asn->Csd]: filter.default changed value
by dave other posts by this author
May 9 2006 5:02PM messages near this date
[PHP-DOC] #37373 [NEW]: filter.default changed value
|
[PHP-DOC] #37373 [Asn]: filter.default changed value
ID: 37373
Updated by: dave@[...].net
Reported By: judas dot iscariote at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
Assigned To: dave
New Comment:
I added a changelog entry for the two INI settings. As far as what the
default might be in PHP 6, I don't think we really need to state that
just yet. The extension is still classified as experimental, and the
experimental warning already states "... may change without notice in a
future release of PHP", which I think is sufficient.
As far as managing the docs for stuff in CVS, we usually just document
it as per normal, including version information about the upcoming
release. So, for the INI settings changelog, I said "before Filter
0.9.5", even though 0.9.5 hasn't been released yet.
Previous Comments:
------------------------------------------------------------------------
[2006-05-09 18:29:21] pajoye@[...].net
I changed it in CVS only. I would recommend to document the new
behavior for pecl release and how it would act later in php6.
It is not yet defined which default filter will be used in php6 (likely
"string").
About FILTER_FLAG_ARRAY and FILTER_FLAG_SCALAR, input_get will support
them as well in the next release.
One question, how do you manage the doc for CVS and the various
releases when behaviors change between them?
------------------------------------------------------------------------
[2006-05-09 00:59:20] dave@[...].net
Nevermind, I see that the default flag value is SCALAR for
input_get_args(), so setting ARRAY does something meaningful.
------------------------------------------------------------------------
[2006-05-09 00:34:12] dave@[...].net
Before I update the documentation, it seems that FILTER_FLAG_ARRAY does
nothing, and simply reverts to the existing behaviour of using
php_zval_filter_recursive() (which accepts scalar as well as array
types). Was this intended?
------------------------------------------------------------------------
[2006-05-09 00:02:05] dave@[...].net
As soon as the newsgroups are working again, I will add the filter
changes.
------------------------------------------------------------------------
[2006-05-08 23:57:14] judas dot iscariote at gmail dot com
Description:
------------
filter extension has chenged the default value of default.filter
setting as well the Filter Configuration Options.
Reproduce code:
---------------
patch here :
http://www.onfocus.cl/judas/phpdoc/filter-doc.patch
Expected result:
----------------
see patch
Actual result:
--------------
see description.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37373&edit=1
Thread:
Judas Dot Iscariote At Gmail Dot Com
dave
pajoye
dave
dave
dave
|