[doc-en] master: Fix the curl_upkeep() and curl_unescape() examples (#5994)

From: Date: Thu, 22 Oct 2026 07:27:58 +0000
Subject: [doc-en] master: Fix the curl_upkeep() and curl_unescape() examples (#5994)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23872@lists.php.net to get a copy of this message
Author: qodelicious (qodelicious) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-10-22T09:27:55+02:00 Commit: https://github.com/php/doc-en/commit/4372c2fc19d3addb446b68e6db4187df6119a95d Raw diff: https://github.com/php/doc-en/commit/4372c2fc19d3addb446b68e6db4187df6119a95d.diff Fix the curl_upkeep() and curl_unescape() examples (#5994) Changed paths: M reference/curl/functions/curl-unescape.xml M reference/curl/functions/curl-upkeep.xml Diff: diff --git a/reference/curl/functions/curl-unescape.xml b/reference/curl/functions/curl-unescape.xml index 93214b6faa1f..8b327d31f107 100644 --- a/reference/curl/functions/curl-unescape.xml +++ b/reference/curl/functions/curl-unescape.xml @@ -61,7 +61,7 @@ &reftitle.examples; <para> <example> - <title><function>curl_escape</function> example</title> + <title><function>curl_unescape</function> example</title> <programlisting role="php"> <![CDATA[ <?php diff --git a/reference/curl/functions/curl-upkeep.xml b/reference/curl/functions/curl-upkeep.xml index 1de13be862f3..cb0e1979f36e 100644 --- a/reference/curl/functions/curl-upkeep.xml +++ b/reference/curl/functions/curl-upkeep.xml @@ -59,7 +59,7 @@ curl_setopt($ch, CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_2_0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_UPKEEP_INTERVAL_MS, 200); if (curl_exec($ch)) { - usleep(300); + usleep(300000); var_dump(curl_upkeep($ch)); } ?>

« previous php.doc.cvs (#23872) next »