Fix version number in php macro (#7822)

Fixes #7812
This commit is contained in:
Paul Yang 2020-08-17 12:58:35 -07:00 committed by GitHub
parent fde7cf7358
commit 93d8e89374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);