Browse Source

Fix version number in php macro (#7822)

Fixes #7812
Paul Yang 5 years ago
parent
commit
93d8e89374
1 changed files with 2 additions and 2 deletions
  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);