summaryrefslogtreecommitdiffstats
path: root/grpc-php85.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-php85.patch')
-rw-r--r--grpc-php85.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/grpc-php85.patch b/grpc-php85.patch
new file mode 100644
index 0000000..a21f9a2
--- /dev/null
+++ b/grpc-php85.patch
@@ -0,0 +1,12 @@
+diff -up ./src/php/ext/grpc/call.c.php85 ./src/php/ext/grpc/call.c
+--- ./src/php/ext/grpc/call.c.php85 2025-07-17 10:28:12.598376396 +0200
++++ ./src/php/ext/grpc/call.c 2025-07-17 10:28:45.097057429 +0200
+@@ -84,7 +84,7 @@ zval *grpc_parse_metadata_array(grpc_met
+ if (php_grpc_zend_hash_find(array_hash, str_key, key_len, (void **)&data)
+ == SUCCESS) {
+ if (Z_TYPE_P(data) != IS_ARRAY) {
+- zend_throw_exception(zend_exception_get_default(TSRMLS_C),
++ zend_throw_exception(zend_ce_exception,
+ "Metadata hash somehow contains wrong types.",
+ 1 TSRMLS_CC);
+ efree(str_key);