#37373 [Asn]: filter.default changed value

From: Date: Tue, 09 May 2006 18:29:21 +0000
Subject: #37373 [Asn]: filter.default changed value
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372979@lists.php.net to get a copy of this message
ID: 37373 Updated by: pajoye@php.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@php.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@php.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@php.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

« previous php.doc (#969372979) next »