mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Fix curl example in PHP 8.5 release page (#1638)
This commit is contained in:
@@ -616,7 +616,7 @@ $sh = curl_share_init_persistent([
|
||||
]);
|
||||
|
||||
$ch = curl_init('https://php.net/');
|
||||
curl_setopt($ch1, CURLOPT_SHARE, $sh);
|
||||
curl_setopt($ch, CURLOPT_SHARE, $sh);
|
||||
|
||||
// This may now reuse the connection from an earlier SAPI request
|
||||
curl_exec($ch);
|
||||
|
||||
Reference in New Issue
Block a user