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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -