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);