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
…immed at NULL byte (?)
This broke in 6318040 when phpdbg
stopped using its custom printing routines. By relying on standard
printing routines, the embedded NUL bytes are causing the strings to be
cut off, even when using %.*s. Solve this by going straight to the
output routine, which is what the printf routine would've done anyway.
Description
The following code:
✅ Results in this output when executed with
php8.3
(alsophp8.2
andphp8.1
andphp8.0
):❌ But results in this output when executed with
phpdbg8.3
(alsophpdbg8.2
andphpdbg8.1
):And I expected this output from
phpdbg8.*
instead:❔Interesting thing is that
phpdbg8.0
output is correct:... so the change in behavior seems to be somewhere in between latest
8.0.*
and8.1
.Steps to reproduce with docker
php8.0 ✅
php8.1 ❌
php8.2 ❌
php8.3 ❌
PHP Version
PHP 8,1-8.3
Operating System
WSL1, WSL2 and also bare Ubuntu
The text was updated successfully, but these errors were encountered: