We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The PHP C extension implementation is missing has* methods for the Google\Protobuf\Value class that are present in the native PHP implementation.
has*
Google\Protobuf\Value
This creates inconsistency between the two:
PHP Implementation :
C Implementation
protobuf/php/ext/google/protobuf/wkt.inc
Lines 1356 to 1371 in b51d59e
What version of protobuf and what language are you using? Version: main Language: php OS: Linux
What did you do?
<?php require_once (dirname(__DIR__) . '/vendor/autoload.php'); use Google\Protobuf\Value; $v = new Value(); var_dump($v->hasNullValue());
# Compile the extension ./php/tests/compile_extension.sh # Run script php -d display_errors=on -dextension=../ext/google/protobuf/modules/protobuf.so has_value_test.php
What did you expect to see
bool(false)
What did you see instead?
Uncaught Error: Call to undefined method Google\Protobuf\Value::hasNullValue()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The PHP C extension implementation is missing
has*
methods for theGoogle\Protobuf\Value
class that are present in the native PHP implementation.This creates inconsistency between the two:
PHP Implementation :
C Implementation
protobuf/php/ext/google/protobuf/wkt.inc
Lines 1356 to 1371 in b51d59e
What version of protobuf and what language are you using?
Version: main
Language: php
OS: Linux
What did you do?
What did you expect to see
What did you see instead?
The text was updated successfully, but these errors were encountered: