How to run the PHP code asynchronous
<p>How Can I run PHP code asynchronously without waiting. I have a long run (almost inifinite) that should run while server starts and should process asynchrously without waiting.</p>

<p>The possible options I guess is
1. Running the code in a web page and keep it open to do that task.
2. Calling the script from some command line utility (I am not sure how) with background processing of my task.</p>

<p>I am running in my local server only which will send the email with certain events for Ex. Birthyday reminders etc. </p>

<p>Please suggest me how can I achieve this without opening the page in browser.</p>
