File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ PHP NEWS
1818 . Fixed bug GH-14286 (ffi enum type (when enum has no name) make memory
1919 leak). (nielsdos, dstogov)
2020
21+ - Intl:
22+ . Fixed bug GH-15087 (IntlChar::foldCase()'s $option is not optional). (cmb)
23+
2124- Opcache:
2225 . Fixed bug GH-13817 (Segmentation fault for enabled observers after pass 4).
2326 (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) {
393393 zend_string * string_codepoint ;
394394 zend_long int_codepoint = 0 ;
395395
396- ZEND_PARSE_PARAMETERS_START (2 , 2 )
396+ ZEND_PARSE_PARAMETERS_START (1 , 2 )
397397 Z_PARAM_STR_OR_LONG (string_codepoint , int_codepoint )
398+ Z_PARAM_OPTIONAL
398399 Z_PARAM_LONG (options )
399400 ZEND_PARSE_PARAMETERS_END ();
400401
You can’t perform that action at this time.
0 commit comments