what do u mean save it, you already have it in the variable, you can use the contents of the variable at anytime with in the lifespan of the script.
if you want to store it anywhere, to e.g. rebuild again use serialize / unserialize: PHP: $myarray = array(1,2,3);var_dump($myarray);$myarraySerialized = serialize($myarray);unset($myarray);var_dump($myarray);$myarray = unserialize(myarraySerialized);var_dump($myarray); If you meant to store an print_r / var_dump equivalent output of the array structure the use var_export(your_var, true). The second parameter is important here.