ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #37373 [Asn]: filter.default changed value
by pajoye other posts by this author
May 9 2006 11:29AM messages near this date
[PHP-DOC] #37373 [Asn->Csd]: filter.default changed value | [PHP-DOC] #37373 [Asn]: filter.default changed value
ID:               37373
 Updated by:       pajoye@[...].net
 Reported By:      judas dot iscariote at gmail dot com
 Status:           Assigned
 Bug Type:         Documentation problem
 Operating System: *
 PHP Version:      Irrelevant
 Assigned To:      dave
 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------

[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved