php-src/ext/filter
Christoph M. Becker aed1e358dc Implement #51368: php_filter_float does not allow custom thousand separators
A set of hard-coded thousand separator characters (presently, `',.`) is
somewhat limited (users may prefer other separators, such as spaces or
underscores), as well as somewhat too liberal (arbitrary combinations
of different thousand separators are presently possible).  Therefore we
introduce a `thousand` option analogous to `decimal`, which allows to
define the desired thousand separators as non-empty string, defaulting
to `',.`.  While we easily could support empty strings here as well,
that would not make much sense, since this behavior can more easily be
accomplished by not setting the `FILTER_FLAG_ALLOW_THOUSAND` flag in
the first place.
2018-03-24 15:04:32 +01:00
..
tests Implement #51368: php_filter_float does not allow custom thousand separators 2018-03-24 15:04:32 +01:00
callback_filter.c year++ 2018-01-02 12:57:58 +08:00
config.m4 fix arg order, CFLAGS is the fifth arg in m4 2014-10-17 16:03:40 +02:00
config.w32 moved ext/filter to use the static tsrmls pointer 2014-10-15 19:27:53 +02:00
CREDITS Shoehorn myself into the credits. 2006-10-03 22:18:08 +00:00
filter_private.h year++ 2018-01-02 12:57:58 +08:00
filter.c Revert "[ci skip] Add missing return types to protos" 2018-02-27 17:40:03 +01:00
logical_filters.c Implement #51368: php_filter_float does not allow custom thousand separators 2018-03-24 15:04:32 +01:00
php_filter.h year++ 2018-01-02 12:57:58 +08:00
sanitizing_filters.c Fix overflow, int var used in loop with size_t counter 2018-02-18 17:55:50 +01:00