ParallelCurl
ParallelCurl copied to clipboard
Does this support anonymous functions?
$parallelcurl->startRequest('http://example.com', function(){
//function content
}, array('something'));
Unfortunately I haven't been working with PHP for a while now, so I haven't added any support for anonymous functions. I'd be happy to roll in a patch if you are able to figure out what's needed!
@codecowboy ParallelCurl uses call_user_func which accepts a callable. You can use array($this, "methodName")
http://php.net/manual/en/language.types.callable.php