-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3 #14930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This was likely due to 00c1e7b . Since the change could break existing code, any chance if we can revert it or find a way to make it backward compatible? In our case, we have a legacy custom stream wrapper that returns a json string from |
Yeah agreed, we should revert it. |
It would be good to also add a test for this so we don't break it again in the future. |
* PHP-8.3: Fix GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3
Just for the info, this got reverted from 8.3 because it was a serious ABI break that caused crashes in some extensions. It is kept only in master and will be part of PHP 8.4. |
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.3.9
Operating System
Reproducible on both macOS and Debian Buster / Bookworm.
The text was updated successfully, but these errors were encountered: