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 @@ -392,8 +392,9 @@ IC_METHOD(foldCase) {
392392 zend_string * string_codepoint ;
393393 zend_long int_codepoint ;
394394
395- ZEND_PARSE_PARAMETERS_START (2 , 2 )
395+ ZEND_PARSE_PARAMETERS_START (1 , 2 )
396396 Z_PARAM_STR_OR_LONG (string_codepoint , int_codepoint )
397+ Z_PARAM_OPTIONAL
397398 Z_PARAM_LONG (options )
398399 ZEND_PARSE_PARAMETERS_END ();
399400
You can’t perform that action at this time.
0 commit comments