diff options
author | Bo Yang <teboring@google.com> | 2018-07-13 03:44:49 +0000 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-07-15 21:01:48 -0700 |
commit | 8758cc160641d0a51e560611ef6fa4896366c0e9 (patch) | |
tree | 04ef58a6353f7384a2277a7c33341ddf0a4f1746 /php/ext | |
parent | bd1224e7b6b1fa93d7979b6a0b1b66c34e6decdd (diff) | |
download | protobuf-8758cc160641d0a51e560611ef6fa4896366c0e9.tar.gz protobuf-8758cc160641d0a51e560611ef6fa4896366c0e9.tar.bz2 protobuf-8758cc160641d0a51e560611ef6fa4896366c0e9.zip |
Fix php tests
Diffstat (limited to 'php/ext')
-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 a40e0f63..06853874 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))) { |