1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/filter/tests
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
..
2011-09-06 08:11:37 +00:00
2017-10-19 12:09:06 +01:00
2014-11-14 10:56:39 +01:00
2010-04-02 18:27:48 +00:00
2017-10-19 12:09:06 +01:00
2014-11-14 11:40:39 +01:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2012-10-10 10:27:49 +08:00
2011-04-28 12:32:47 +00:00
2015-03-08 15:27:41 -04:00
2016-07-18 23:33:22 +02:00
2016-11-20 22:31:24 +01:00
2011-09-04 22:21:58 +00:00
2011-09-04 22:21:58 +00:00
2013-05-09 15:57:25 +08:00
2010-01-05 12:25:00 +00:00