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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php