|
Posted by Ivαn Sαnchez Ortega on 07/01/07 15:54
Ming wrote:
> do {
> curl_multi_exec($mh,$running);
> } while ($running > 0);
[...]
> What does $running mean? $running is NULL at first,
No. It's undeclared at first.
> how it becomes a value which is greater than zero?
http://www.php.net/manual/en/function.curl-multi-exec.php
"A reference to a flag to tell whether the operations are still running."
Now, re-read your programming books, looking for anything
on "pass-by-reference parameters". That should clear your mind.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
This virus requieres Microsoft Windows 3.x.
Navigation:
[Reply to this message]
|