summaryrefslogtreecommitdiffstats
path: root/protobuf-php81.patch
diff options
context:
space:
mode:
Diffstat (limited to 'protobuf-php81.patch')
-rw-r--r--protobuf-php81.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/protobuf-php81.patch b/protobuf-php81.patch
index 716d33d..9e12fb3 100644
--- a/protobuf-php81.patch
+++ b/protobuf-php81.patch
@@ -16,7 +16,7 @@ index 765e90297c..7060f7ed91 100644
repeated_field_methods);
RepeatedField_class_entry = zend_register_internal_class(&tmp_ce);
-+#if PHP_VERSION_ID < 80100
++#if PHP_VERSION_ID < 70200
zend_class_implements(RepeatedField_class_entry, 3, spl_ce_ArrayAccess,
zend_ce_aggregate, spl_ce_Countable);
+#else
@@ -34,7 +34,7 @@ index f5890d99e4..158d0bfd51 100644
MapField_methods);
MapField_class_entry = zend_register_internal_class(&tmp_ce);
-+#if PHP_VERSION_ID < 80000
++#if PHP_VERSION_ID < 70200
zend_class_implements(MapField_class_entry, 3, spl_ce_ArrayAccess,
zend_ce_aggregate, spl_ce_Countable);
+#else