Skip to content

Instantly share code, notes, and snippets.

@LC43
Created March 3, 2014 17:17
Show Gist options
  • Save LC43/9329828 to your computer and use it in GitHub Desktop.
Save LC43/9329828 to your computer and use it in GitHub Desktop.
<?php
if( $handle ) {
// [...]
do {
$status = curl_multi_exec($mastercurling, $running);
curl_multi_select( $mastercurling );
} while( $running > 0 );
// } while($status == CURLM_CALL_MULTI_PERFORM);
// ^^ this parens should match do { but there's no way to know that.
// in web-mode it matches if( $handle ),
// other modes they don't match at all.
} // this matches if ($handle) but not on web-mode.
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment