php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55030 Example is very inefficient
Submitted: 2011-06-10 19:59 UTC Modified: 2011-06-30 04:16 UTC
From: dan dot franklin at pearson dot com Assigned: fa (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: linux
Private report: No CVE-ID: None
 [2011-06-10 19:59 UTC] dan dot franklin at pearson dot com
Description:
------------
---
From manual page: http://www.php.net/function.curl-multi-init#Examples
---
This example shows a loop that sleeps for 10 msec between calls to curl_multi_exec.  This is very inefficient.  The example on the curl_multi_exec page is much better, since it uses curl_multi_select to wait until there is something for curl_multi_exec to do.  Seems like it would be better to refer to that page.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-30 04:15 UTC] fa@php.net
Automatic comment from SVN on behalf of fa
Revision: http://svn.php.net/viewvc/?view=revision&revision=312660
Log: Fix #55030 - improve example
 [2011-06-30 04:16 UTC] fa@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: fa
 [2011-06-30 04:16 UTC] fa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of fa
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5f47986dc161e0b99f96de633fe934c6a3d19aaf
Log: Fix #55030 - improve example
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 05:00:01 2026 UTC