它用于定义Web归档文件的全名并用于指定通过Web浏览器访问时可以找到应用程序的上下文根(参见清单7)。
It defines the Web archive's full name and specifies the context root where the application can be found when accessed from a Web browser (see Listing 7).
Phar归档可以通过require或include函数轻松地从PHP文件加载,或者通过使用名称指定Phar归档,直接从浏览器或命令行执行。
The Phar archive can loaded easily from a PHP file using the require or include function, or can be executed directly from the browser or command line by specifying the Phar archive by name.
应用推荐