瀏覽代碼

Fix version number in php macro (#7822)

Fixes #7812
Paul Yang 5 年之前
父節點
當前提交
93d8e89374
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      php/ext/google/protobuf/message.c

+ 2 - 2
php/ext/google/protobuf/message.c

@@ -265,14 +265,14 @@ static PROTO_RETURN_VAL Message_write_property(
   }
 
   upb_msg_set(intern->msg, f, msgval, arena);
-#if PHP_VERSION_ID < 704000
+#if PHP_VERSION_ID < 70400
   return;
 #else
   return val;
 #endif
 
 error:
-#if PHP_VERSION_ID < 704000
+#if PHP_VERSION_ID < 70400
   return;
 #else
   return &EG(error_zval);