diff options
author | Bo Yang <teboring@google.com> | 2018-07-13 03:44:49 +0000 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2018-07-13 05:47:10 +0000 |
commit | 51c188c2ccb0f9dac475a50c77c4f57ab96fbc4a (patch) | |
tree | 4001fb62bec322891c9e591848f8f5d1e47d81a6 /php/ext/google/protobuf/message.c | |
parent | f21d4d6830a935da99c9aa107827c1d827768121 (diff) | |
download | protobuf-51c188c2ccb0f9dac475a50c77c4f57ab96fbc4a.tar.gz protobuf-51c188c2ccb0f9dac475a50c77c4f57ab96fbc4a.tar.bz2 protobuf-51c188c2ccb0f9dac475a50c77c4f57ab96fbc4a.zip |
Fix php tests
Diffstat (limited to 'php/ext/google/protobuf/message.c')
-rw-r--r-- | php/ext/google/protobuf/message.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/message.c b/php/ext/google/protobuf/message.c index e28e42a1..9363191d 100644 --- a/php/ext/google/protobuf/message.c +++ b/php/ext/google/protobuf/message.c @@ -283,6 +283,7 @@ void build_class_from_descriptor( // ----------------------------------------------------------------------------- void Message_construct(zval* msg, zval* array_wrapper) { + TSRMLS_FETCH(); zend_class_entry* ce = Z_OBJCE_P(msg); MessageHeader* intern = NULL; if (EXPECTED(class_added(ce))) { |