Filter 0.10.0 released
Posted by Pierre in
PHP
Friday, September 1. 2006
I just release the long awaited Filter 0.10.0. This release includes many improvements and bug fixes (and is already documented!).
This release will be included in the upcoming PHP 5.2.0RC3, which is likely to be the last RC. Please report any trouble you find, and post your feedback (here, on the pecl-dev mailing list or in the issue tracker), it will help provide the best possible extension in the 5.2.0 release. A stable filter release should still hit the road this year.
The main feature additions of this release include the following:
- Add input_get_args method, Gets multiple variables from outside PHP (or a given array data) and optionally filters them
- Added support for php pcre expressions
- Added FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY
- Added JIT support
- Added support for custom decimal separators
Some behaviors changed since the last release, these changes have been requested by the current users:
- A value will be FALSE if the filter fails, or NULL if the variable is not set
- The integer and float parser has been improved, it may affect some invalid results (if you implement a work around)
- Empty strings are no longer considered as valid float or integer, earlier version returned zero when an empty string was given
- The default filter is now “raw” (unsafe_raw), it does not apply any filter to the default data, it works transparently in your existing applications.
To see a complete changelog, please consult the release page.
I like to thanks Tony and Ilia for their work in this release as well as all the users who reported bugs and kept asking for improvements!



