| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Closes GH-5327
|
| |
| |
| |
| |
| |
| |
| |
| | |
Avoid subtle differences in behavior depending on whether the
handler is absent or returns FAILURE.
If you previously set cast_object to NULL, create a handler that
always returns FAILURE instead.
|
| |
| |
| |
| |
| |
| | |
To explicitly indicate that objects are uncomparable. For now
this has no functional difference from the usual 1 return value,
but makes intent clearer.
|
| |
| |
| |
| |
| | |
Avoid performing the same casting dance inside each sort compare
function.
|
| |
| |
| |
| | |
Closes GH-5217
|
| |
| |
| |
| | |
Closes GH-5218
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Use type-checked ref assignment in UConverter
|
| | |
|
| |
| |
| |
| | |
Mostly reindent PHP scripts to spaces.
|
| |
| |
| |
| | |
Closes GH-5211
|
| | |
|
| |
| |
| |
| | |
Closes GH-5207
|
| |
| |
| |
| |
| | |
The result of Z_INTL_BREAKITERATOR_P() cannot be NULL. This type
of macro in general can never be NULL.
|
| |
| |
| |
| | |
Closes GH-5092
|
| |
| |
| |
| | |
This reverts commit c31029f335ca1b453af799805c43c37e959ad555.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is inline with similar changes to the math functions. Especially,
array to number conversion makes no sense here, and is likely to hide
a programming error.
To make that feasible, we introduce the `n` specifier for classic ZPP
so we can stick with `zend_parse_method_parameters()`.
We also remove a test case, which has been degenerated to a ZPP test.
|
| | |
|
| |
| |
| |
| | |
Closes GH-4827
|
| |
| |
| |
| | |
Closes GH-4826
|
| |
| |
| |
| | |
Closes GH-4846
|
| | |
|
| |
| |
| |
| | |
Closes GH-4812
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Relax test expectation
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Relax test expectation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we're dealing with floating point numbers, precision issues may
hit us, and actually it's not necessary to check for the exact number
anyway, because it is not exact in the first place. Therefore, we
relax the test expectations.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #79212: NumberFormatter::format() may detect wrong type
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #79212: NumberFormatter::format() may detect wrong type
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We have to convert to number *before* detecting the type, to cater to
internal objects implementing `cast_object`.
We also get rid of the fallback behavior of using `FORMAT_TYPE_INT32`,
because that can no longer happen; after `convert_scalar_to_number_ex`
the type is either `IS_LONG` or `IS_DOUBLE`. We cater explicitly to
the `IS_ARRAY` case what also avoids triggering a type confusion when
`::TYPE_INT64` is passed as `$type`.
|
| | |
| | |
| | |
| | | |
In preparation for GH-5074
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While it would be desireable to actually support unserialization of
NumberFormatter instances, at least we should not allow serialization
for now.
We also remove some doubtful tests, which have been added[1] claiming
that they would crash the intl extension, but apparently no fix has
been applied, and the test cases have not been marked as XFAIL.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=ed793b2a3f857fd49c0c1b036062140da5b3e674>
|
| | |
| | |
| | |
| | | |
Closes GH-5105
|
| | |
| | |
| | |
| | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | |
| | |
| | |
| | | |
Closes GH-5052
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Closes GH-4819
- Add stubs for idn functions
- Add stubs for grapheme functions
- Add stubs for Spoofchecker
- Add stubs for Normalizer
- Add stubs for ResourceBundle
- Fix arginfos
- Add support for union return types
- Fix arginfo for resourcebundle_create()
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Except for some bigger ones: reflection, sodium, spl
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78912: INTL Support for accounting format
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We provide `NumberFormatter::CURRENCY_ACCOUNTING` to wrap
`UNUM_CURRENCY_ACCOUNTING `[1].
[1] <https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae97cdd7ed612d07d251021c076efb1c5>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|