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

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

WBOY
Release: 2016-06-02 11:34:01
Original
791 people have browsed it

变量名php数组

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


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template