PHP In Memory Classes or Variable
<p>Hi is there anyway to store variable into memory until server restart or manually recreate the same variable using PHP.</p>

<p>Actually the problem is this I nee do have a router in my application which have several configuration to route the URLs on different APIs. I do not want to load my configuration each time a request lands so I am searching a way to keep the configuration data into memory until I manually recreate the same.</p>

<p>Please suggest if there is anyway to do this.</p>

<p>Thanks in Advanced.</p>
