diff --git a/php/ext/google/protobuf/message.c b/php/ext/google/protobuf/message.c
index b2a03063f5..7cd16699c7 100644
--- a/php/ext/google/protobuf/message.c
+++ b/php/ext/google/protobuf/message.c
@@ -356,14 +356,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);
diff --git a/php/ext/google/protobuf/package.xml b/php/ext/google/protobuf/package.xml
index 037fa90d93..e0d25c87c5 100644
--- a/php/ext/google/protobuf/package.xml
+++ b/php/ext/google/protobuf/package.xml
@@ -10,11 +10,11 @@
protobuf-opensource@google.com
yes
- 2020-08-14
+ 2020-10-08
- 3.13.0
- 3.13.0
+ 3.13.0.1
+ 3.13.0.1
stable
@@ -675,5 +675,19 @@ G A release.
3-Clause BSD License
GA release.
+
+
+ 3.13.0.1
+ 3.13.0.1
+
+
+ stable
+ stable
+
+ 2020-10-08
+
+ 3-Clause BSD License
+ GA release.
+
diff --git a/php/ext/google/protobuf/protobuf.h b/php/ext/google/protobuf/protobuf.h
index 3188fe7dcb..195e2a7971 100644
--- a/php/ext/google/protobuf/protobuf.h
+++ b/php/ext/google/protobuf/protobuf.h
@@ -56,7 +56,7 @@ const zval *get_generated_pool();
// instead of zval* and zend_string* instead of zval* for property names.
// https://github.com/php/php-src/blob/php-8.0.0beta1/UPGRADING.INTERNALS#L37-L39
#if PHP_VERSION_ID < 80000
-#define PROTO_VAL zval
+#define PROTO_VAL zval
#define PROTO_STR zval
#define PROTO_MSG_P(obj) (Message*)Z_OBJ_P(obj)
#define PROTO_STRVAL_P(obj) Z_STRVAL_P(obj)
@@ -69,7 +69,7 @@ const zval *get_generated_pool();
#define PROTO_STRLEN_P(obj) ZSTR_LEN(obj)
#endif
-#define PHP_PROTOBUF_VERSION "3.13.0"
+#define PHP_PROTOBUF_VERSION "3.13.0.1"
// ptr -> PHP object cache. This is a weak map that caches lazily-created
// wrapper objects around upb types: