Эх сурвалжийг харах

Properly terminate method array.

Joshua Haberman 5 жил өмнө
parent
commit
8308aa0c31

+ 1 - 0
php/ext/google/protobuf/def.c

@@ -1036,6 +1036,7 @@ PHP_METHOD(InternalDescriptorPool, getGeneratedPool) {
 static zend_function_entry InternalDescriptorPool_methods[] = {
   PHP_ME(InternalDescriptorPool, getGeneratedPool, NULL,
          ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
+  ZEND_FE_END
 };
 
 // -----------------------------------------------------------------------------