My problem is im creating a large nested PHP array which is parsing information from multiple external sources.
On the first return I would like to cache this data.
have you thought about putting static $yourData = array(); in your method where you download the data then test whether theres any data in this static array and use that, overwise get the data? hope this helps in some way :D