Does PHP have job control like bash does?

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-04-19T00:11:32Z Indexed on 2010/04/19 0:13 UTC
Read the original article Hit count: 461

Hello, does PHP support something like ampersand in bash (forking)? Let's say I wanted to use cURL on 2 web pages concurrently, so script doesn't have to wait before first cURL command finnishes, how could one achieve that in PHP? Something like this in bash:

 curl www.google.com &
 curl www.yahoo.com &
 wait

© Stack Overflow or respective owner

Related posts about php

Related posts about job-control