Skip to content

Conversation

@TeBoring
Copy link
Contributor

@TeBoring TeBoring commented Nov 30, 2020

  1. Fixed tests to be compatible with phpunit 9
  2. Added missing arginfo to c extension
  3. Add port for compare_objects, which was changed to compare in php runtime.
@haberman
Copy link
Member

haberman commented Dec 4, 2020

Very nice change.

I don't see any Kokoro results for PHP 8.0?

@haberman haberman self-requested a review December 4, 2020 21:21
@TeBoring TeBoring merged commit 823f351 into protocolbuffers:master Dec 4, 2020
@TeBoring TeBoring deleted the php8-fix branch December 4, 2020 21:46
haberman added a commit to haberman/protobuf that referenced this pull request Dec 11, 2020
Message accessors will return null when when the field is not set, so this should be reflected in the PhpDoc. Also updated the code generator for the well-known types to reflect the edits made in protocolbuffers#8105. Also explicitly check for upb_msg_has() in the oneof accessor, so we are not implicitly relying on unset message fields returning NULL at the upb level.
TeBoring pushed a commit that referenced this pull request Jan 7, 2021
Message accessors will return null when when the field is not set, so this should be reflected in the PhpDoc. Also updated the code generator for the well-known types to reflect the edits made in #8105. Also explicitly check for upb_msg_has() in the oneof accessor, so we are not implicitly relying on unset message fields returning NULL at the upb level.
"license": "BSD-3-Clause",
"require": {
"php": ">=5.5.0"
"php": ">=7.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This drops support for 5.5 and 5.6 in the native PHP library. Was this intentional? I see no mention of this anywhere in the PR or README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants