Skip to content

chore(php): prevent PHP 8.5 null array key deprecation#24668

Closed
bshaffer wants to merge 1 commit intoprotocolbuffers:mainfrom
bshaffer:bshaffer-patch-2
Closed

chore(php): prevent PHP 8.5 null array key deprecation#24668
bshaffer wants to merge 1 commit intoprotocolbuffers:mainfrom
bshaffer:bshaffer-patch-2

Conversation

@bshaffer
Copy link
Copy Markdown
Contributor

@bshaffer bshaffer commented Dec 1, 2025

Using null as an array offset is now deprecated PHP 8.5. The changes in this PR will fix the following:

PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in php/src/Google/Protobuf/Internal/Descriptor.php on line 57
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in php/src/Google/Protobuf/Internal/DescriptorPool.php on line 78
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in php/src/Google/Protobuf/Internal/DescriptorPool.php on line 79
PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in php/src/Google/Protobuf/Internal/DescriptorPool.php on line 93

@bshaffer bshaffer requested a review from a team as a code owner December 1, 2025 19:38
@bshaffer bshaffer requested review from zhangskz and removed request for a team December 1, 2025 19:38
@zhangskz zhangskz added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Dec 1, 2025
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants