You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that as of PHP 8.0.0, the %I* specifiers are no longer supported by our custom snprintf and spprintf implementations. This issue came up in php/doc-en#1483.
Instead of using the unsupported `%I64u` and `%I64d` format specifiers
on Windows, we use the portable `PRIu64` and `PRId64` specifiers.
The `L64()` macro and the `my_longlong` typedef should be adapted as
well, as the `i64` literal suffix is still supported by MSVC, but using
`LL` or `ll` is recommended[1], and the standard `int64_t` is available
there anyway. This is not urgent, though.
[1] <https://docs.microsoft.com/en-us/cpp/cpp/numeric-boolean-and-pointer-literals-cpp?view=msvc-170#integer-literals>
Description
The following code:
Resulted in this output:
But I expected this output instead:
The problem is that as of PHP 8.0.0, the %I* specifiers are no longer supported by our custom
snprintf
andspprintf
implementations. This issue came up in php/doc-en#1483.Well, actually I expected the following:
but that off-by-one error is a minor issue, and fixing it would be a BC break.
PHP Version
PHP 8.0.17-dev
Operating System
Windows
The text was updated successfully, but these errors were encountered: