| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Mostly reindent PHP scripts to spaces.
|
|\
| |
| |
| |
| | |
* 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.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`.
|
| |
| |
| |
| |
| |
| |
| | |
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.3:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.2:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I'm not totally sure, but I have a strong suspicion that the fact
that this produces an error is an artifact of undefined cast behavior
(which will yield INDVAL on x86 but saturate on ARM). INF seems to
be the only value that results in an error even on x86 (variations
like -INF or NAN succeed).
It might make sense to just remove this test entirely, but for now
let's skip it on non-x86.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Split intl tests for ICU 65
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Split intl tests for ICU 65
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | | |
Fix array length passed to zend_hash_str_find_ptr() casting from
UChar array to char array requires mul by sizeof(UChar).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Raise minimal GCC version, Test with 4.8 is OK With 4.4: error: #pragma GCC diagnostic not allowed inside functions
|
| | |
| | |
| | |
| | |
| | | |
Test with 4.8 is OK
With 4.4: error: #pragma GCC diagnostic not allowed inside functions
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Suppress deprecation warning on IDNA2003 ICU methods for clang
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods for clang
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Suppress deprecation warning on IDNA2003 ICU methods
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Revert "Move to non deprecated API on suitable ICU versions"
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 13a2f2d041999dca0066542f2a552798fab9a13d.
The APIs used by this commit aren't entirely equivalent to the original ones.
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.2:
Change ZPP only if compiled with ICU >= 64
Update tests for ICU 64
|
| | | |
|
| | |
| | |
| | |
| | | |
(cherry picked from commit 8a8bc5c4529223ecf4f421b1bed03618f7394335)
|
| | |
| | |
| | |
| | |
| | | |
These files are tracked with CRLF line endings in Git and can be
converted to LF. Neither are parts of tests or code itself.
|
| | |
| | |
| | |
| | | |
Closes GH-4394
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
I'm just giving each format a distinct owned object here ... sharing
it looks complicated.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
|
| | |
| | |
| | |
| | |
| | | |
Both classes already have a count() method and are considered
countable by \is_countable().
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
|
| | |
| | |
| | |
| | | |
by reference
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|