Doc #55030 [Opn->Csd]: Example is very inefficient

From: Date: Thu, 30 Jun 2011 08:16:12 +0000
Subject: Doc #55030 [Opn->Csd]: Example is very inefficient
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6774@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55030&edit=1 ID: 55030 Updated by: fa@php.net Reported by: dan dot franklin at pearson dot com Summary: Example is very inefficient -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: linux PHP Version: Irrelevant -Assigned To: +Assigned To: fa Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2011-06-30 04:15:08] 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-10 19:59:11] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55030&edit=1

« previous php.doc.bugs (#6774) next »