I have an array:
$myArray = array('key1'=>'value1', 'key2'=>'value2');
I save it as a variable:
$fileContents = var_dump($myArray);
How can convert the variable back to use as a regular array?
echo $fileContents[0]; //output: value1
echo $fileContents[1]; //output: value2
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…