ID: 37373 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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