File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ PHP NEWS
18
18
. Fixed bug GH-14286 (ffi enum type (when enum has no name) make memory
19
19
leak). (nielsdos, dstogov)
20
20
21
+ - Intl:
22
+ . Fixed bug GH-15087 (IntlChar::foldCase()'s $option is not optional). (cmb)
23
+
21
24
- Opcache:
22
25
. Fixed bug GH-13817 (Segmentation fault for enabled observers after pass 4).
23
26
(Bob)
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ GH-15087 (IntlChar::foldCase()'s $option is not optional)
3
+ --EXTENSIONS--
4
+ intl
5
+ --FILE--
6
+ <?php
7
+ var_dump (IntlChar::foldCase ('I ' ));
8
+ ?>
9
+ --EXPECT--
10
+ string(1) "i"
Original file line number Diff line number Diff line change @@ -393,8 +393,9 @@ IC_METHOD(foldCase) {
393
393
zend_string * string_codepoint ;
394
394
zend_long int_codepoint = 0 ;
395
395
396
- ZEND_PARSE_PARAMETERS_START (2 , 2 )
396
+ ZEND_PARSE_PARAMETERS_START (1 , 2 )
397
397
Z_PARAM_STR_OR_LONG (string_codepoint , int_codepoint )
398
+ Z_PARAM_OPTIONAL
398
399
Z_PARAM_LONG (options )
399
400
ZEND_PARSE_PARAMETERS_END ();
400
401
You can’t perform that action at this time.
0 commit comments