Multi thread methods simultaneously php
<p>I am working on a PHP script that instantiates three objects of the same class with different parameters. These objects in turn run methods for infinite duration (like a Cron Job), and hence, the next line or the 2nd never begins.</p>

<p>So if I have </p>

<pre><code>$a = new CronJob('Listing', '2010-04-01T00:00:01', '2010-04-01T00:30:01', 'A', 'BUSO');
$s = new CronJob('Listing', '2010-04-01T00:00:01', '2010-04-01T00:30:01', 'S', 'BUSO');
$p = new CronJob('Listing', '2010-04-01T00:00:01', '2010-04-01T00:30:01', 'P', 'BUSO');
</code></pre>

<p><code>$s</code> is never executed since <code>$a</code> is running for infinite duration</p>

<p>How can I get around this? I thought of running them in different scripts but I don't wanna make <code>3 * (#object types)</code> to run them simultaenously. </p>
