mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
CI: Fix curl_callback_lifetime_destructor.phpt (#23884)
This commit is contained in:
1 parent
b27f4a251d
commit
b30219a44a
1 file changed
+1
-1
@@ -23,7 +23,7 @@ class Callback {
|
||||
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";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user