Commit b30219a44ab for php
commit b30219a44abd4e66ba4de5c8df4e2df26b6d8ac1
Author: Weilin Du <weilindu@php.net>
Date: Thu Sep 24 20:14:12 2026 +0800
CI: Fix curl_callback_lifetime_destructor.phpt (#23884)
diff --git a/ext/curl/tests/curl_callback_lifetime_destructor.phpt b/ext/curl/tests/curl_callback_lifetime_destructor.phpt
index 3eb95c1868f..fa500893f5b 100644
--- a/ext/curl/tests/curl_callback_lifetime_destructor.phpt
+++ b/ext/curl/tests/curl_callback_lifetime_destructor.phpt
@@ -23,7 +23,7 @@ public function __destruct() {
foreach (['curl_reset', 'curl_close'] as $function) {
try {
// curl_close() is deprecated in PHP 8.5.
- @$function($this->handle);
+ $function($this->handle);
} catch (Error $e) {
echo $e->getMessage(), "\n";
}