Fix version number in php macro (#7822)

Fixes #7812
pull/7950/head
Paul Yang 5 years ago committed by GitHub
parent fde7cf7358
commit 93d8e89374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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);

Loading…
Cancel
Save