diff options
author | Remi Collet <remi@remirepo.net> | 2025-07-18 08:53:01 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-07-18 08:53:01 +0200 |
commit | 0c8d27094dec4054ec7515ca6358a1f56d070991 (patch) | |
tree | 76ec6a794a951f6d6a32d5f5f0cbeaca94807d65 /grpc-php85.patch | |
parent | c0209355e44bddbc29691133c6711623ef860ea5 (diff) |
update to 1.74.0RC2
Diffstat (limited to 'grpc-php85.patch')
-rw-r--r-- | grpc-php85.patch | 12 |
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); |