Re: Re: ext/filter, Final API proposal
| From: | Christian Schneider | Date: | Tue, 19 Sep 2006 22:36:11 +0000 |
| Subject: | Re: Re: ext/filter, Final API proposal | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25771@lists.php.net to get a copy of this message | ||
Pierre wrote:
The flag allows arrays and always returns an array. It is obvious as if you allow array or scalar, you have to use is_array, that's a step we easily drop internally by always returning an array. I do not see the point to have ALLOW_ARRAY and FORCE_ARRAY. It is confusing.I agree with you there. And I also like the function names you guys came up with. But my real reason to write this email is this: Is there any chance INPUT_REQUEST would make it into 5.2 if I come up with a patch? What would be the time frame for it? Is your current patch online so I could base it on that? The reason I'm asking is that I think it the interface without it is unnecessarily crippled and providing it later makes version checking necessary in code using this function. - Chris