$array = require('dosya.php');
echo $array["database"]["driver"]; //mysql
return array(
//Database Variables
"database" => array(
//mysql, sqlsrv, pgsql are tested connections and work perfect.
"driver" => "mysql",
"host" => "localhost",
"port" => "3306",
"name" => "xxxxxx",
"user" => "xxxxxx",
)
);
echo $array["database"]["driver"]; //mysql
şu şekil denedim olmadı