File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 17
17
18
18
Intl:
19
19
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
20
- . Deprecated constants ROUND_DOWN and ROUND_UP for the consistency with new
21
- rounding modes. Added instead aliases ROUND_TOWARD_ZERO and
22
- ROUND_AWAY_FROM_ZERO. (Jorg Sowa)
20
+ . Created aliases ROUND_TOWARD_ZERO and ROUND_AWAY_FROM_ZERO for constants
21
+ ROUND_DOWN and ROUND_UP. (Jorg Sowa)
23
22
24
23
Opcache:
25
24
. Added large shared segments support for FreeBSD. (David Carlier)
Original file line number Diff line number Diff line change 1
1
--TEST--
2
- IntlBreakIterator: clone handler
2
+ NumberFormatter: rounding modes
3
3
--EXTENSIONS--
4
4
intl
5
5
--FILE--
@@ -22,20 +22,12 @@ var_dump(NumberFormatter::ROUND_UP === NumberFormatter::ROUND_AWAY_FROM_ZERO);
22
22
--EXPECTF--
23
23
int(0)
24
24
int(1)
25
-
26
- Deprecated: Constant NumberFormatter::ROUND_DOWN is deprecated in %s
27
25
int(2)
28
26
int(2)
29
-
30
- Deprecated: Constant NumberFormatter::ROUND_UP is deprecated in %s
31
27
int(3)
32
28
int(3)
33
29
int(4)
34
30
int(5)
35
31
int(6)
36
-
37
- Deprecated: Constant NumberFormatter::ROUND_DOWN is deprecated in %s
38
32
bool(true)
39
-
40
- Deprecated: Constant NumberFormatter::ROUND_UP is deprecated in %s
41
- bool(true)
33
+ bool(true)
You can’t perform that action at this time.
0 commit comments