瀏覽代碼

Properly terminate method array.

Joshua Haberman 5 年之前
父節點
當前提交
8308aa0c31
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      php/ext/google/protobuf/def.c

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

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