Home >Backend Development >PHP Tutorial >变量名-PHP文件为什么会直接返回一个数组?

变量名-PHP文件为什么会直接返回一个数组?

WBOY
WBOYOriginal
2016-06-02 11:34:01791browse

变量名php数组

<code><?phpreturn array(    'app' => __DIR__.'/../app',    'public' => __DIR__.'/../public',    'base' => __DIR__.'/..');</code>


数组无变量名, require这个文件时怎么使用数组里的数据?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn