php: how do i store an array in a file to access as an array later with php?

Posted by Haroldo on Stack Overflow See other posts from Stack Overflow or by Haroldo
Published on 2010-04-18T12:46:31Z Indexed on 2010/04/18 12:53 UTC
Read the original article Hit count: 187

Filed under:

I just want to quickly store an array which i get from a remote API, so that i can mess around with it on a local host.

So:

  1. i currently have an array
  2. i want to people to use the array without having to get it from the API

There are no needs for efficiency etc here, this isnt for an actual site just for getting some sanitizing/formatting methods made etc

is there a function like store_array() restore_arrray() ?!

© Stack Overflow or respective owner

Related posts about php