Doc #55029 [Opn]: Example is wrong

From: Date: Thu, 30 Jun 2011 07:39:45 +0000
Subject: Doc #55029 [Opn]: Example is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6773@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: fa@php.net Reported by: dan dot franklin at pearson dot com Summary: Example is wrong Status: Open Type: Documentation Problem Package: Documentation problem Operating System: Linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#6773) next »