Doc #55029 [Opn->Csd]: Example is wrong

From: Date: Fri, 01 Jul 2011 22:38:15 +0000
Subject: Doc #55029 [Opn->Csd]: Example is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6787@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55029&edit=1 ID: 55029 Updated by: frozenfire@php.net Reported by: dan dot franklin at pearson dot com Summary: Example is wrong -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Linux PHP Version: Irrelevant -Assigned To: +Assigned To: frozenfire 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 03:39:45] fa@php.net I'm not saying you're wrong, but I cannot reproduce this on PHP 5.3.3-7+squeeze1 Both versions run in a couple of seconds, especially if I use lxr.php.net instead of example.com like in the other example. ------------------------------------------------------------------------ [2011-06-10 19:53:59] dan dot franklin at pearson dot com Description: ------------ --- From manual page: http://www.php.net/function.curl-multi-add-handle#Examples From manual page: http://www.php.net/function.curl-multi-close#Examples --- The example on these pages shows a spinloop waiting for curl_multi_exec to say it's done. A junior person in our group tried to follow that example to transfer some image files and couldn't understand why it ran for an hour and did nothing. Suggest deleting this example and linking to the one on the curl_multi_exec page, which calls curl_multi_select to pause until there's data to transfer. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55029&edit=1

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