php - Intend to get a file content is array variable -
i have file contains multiple array variable this
some of content...
$variable = array( "a" => array("q" => "1",), "b" => array("w" => "2",), );
some of content...
$variable = array( "c" => array("e" => "3",), "d" => array("w" => "4",), );`
izzit have way in file_get_contents , using preg_match_all content result this
array[0] = $variable = array( "a" => array("q" => "1"), "b" => array("w" => "2"), ); array[1] = $variable = array( "c" => array("e" => "3",), "d" => array("w" => "4",), );`
or have other way can same result...
thanks you
Comments
Post a Comment