phar
- 【医】【=pharmacologist】药理学家,药物学者
-
There are several steps needed to create a Phar file .
创建Phar文件需要执行若干步骤。
-
Let 's see how easy it is to integrate a Phar into your application .
让我们看一看在应用程序中集成Phar有多么容易。
-
The object reference will allow you to control all aspects of the Phar archive .
对象引用将允许您控制Phar归档的所有方面。
-
Since then , quite a bit of work has been done to improve the performance of Phar archives .
自那时起,人们做了大量工作来改善Phar归档的性能。
-
Running a PHP application from a Phar archive
从Phar归档运行PHP应用程序
-
Integrating Phar archive code in your application
在应用程序中集成Phar归档代码
-
This setting is not required to open or reference files within a Phar archive within PHP .
在PHP的Phar归档内打开和引用文件时不需要使用到该设置。
-
We have now created a Phar archive , which can be used by any PHP application .
我们现在已经创建了一个Phar归档,它可以用于任何PHP应用程序。
-
Let 's look at the steps needed to create a Phar archive that can be used to drive an application .
让我们看一看创建可用于驱动应用程序的Phar文件需要哪些步骤。
-
The Phar extension is based on a similar concept , but it is designed more for the Web environment of PHP .
Phar扩展正是基于类似的理念,但是在设计时主要针对PHP的Web环境。
-
The first parameter to the constructor is the path to where the Phar file should be saved .
构造函数的第一个参数表示保存Phar文件的位置。
-
By default , the Phar created will use the native Phar-based archive format .
默认情况下,创建的Phar将使用原生的基于Phar的归档格式。
-
How to add this stub to your Phar archive depends upon what archive format you are using .
如何将这个文件存根Phar添加到Phar归档取决于所使用的归档的格式。
-
You need to do this before referencing files within the archive using the phar : / / stream wrapper .
您需要在归档内引用文件之前使用phar://流包装器执行初始化。
-
The second include uses the stream wrapper to open the Phar archive and only includes the specified file inside the archive .
第二个include使用流包装器打开Phar归档并且仅在归档中包括指定的文件。
-
Next , you 'll need to define the file stub , which is the first code called when the Phar file is loaded .
接下来,将需要定义文件存根(stub),这是在加载Phar文件时首先调用的代码。
-
OBJECTIVE : To analysis the micro-policy demand of medical institutions about carrying on qualified phar ˉ maceutical service .
目的:探求我国医疗机构开展药学服务对政策的需求。
-
The third parameter is the alias for how this Phar archive is referred to in the streams context .
第三个参数是在流上下文中引用Phar归档的别名。
-
Conclusion : ( 1 ) The overexpression of PHAR can be used to differentiate moderate severe dysplasia from adenocarcinoma .
结论:PHAR的强阳性表达可作为区分中~重度不典型增生与腺癌的辅助指标。
-
ZIP-and TAR-based archives require the Phar extension to be loaded .
基于ZIP和TAR的归档需要加载Phar扩展。
-
In this case , you don 't even need the Phar extension installed , since PHP can natively load the file and extract its contents .
在这种情况下,您甚至不需要安装Phar扩展,因为PHP天生就可以加载文件并提取文件内容。
-
The Phar : : buildFromIterator () method accepts the iterator object itself as the sole argument .
buildFromIterator()方法接受迭代器对象本身作为惟一的参数。
-
One neat thing you can do with Phar archives is package an entire application with a Phar archive and distribute it that way .
Phar归档的一个出色特性就是可以使用一个Phar归档打包整个应用程序并进行发布。
-
The phar : / / stream wrapper can be used to access a file inside a loaded Phar archive , shown below .
流包装器可以用来访问已加载Phar归档中的文件,如下所示。
-
One way is by using the Phar : : buildFromDirectory () method , which will walk through a specified directory and add the files within it .
一种方法就是使用Phar::buildFromDirectory()方法,该方法将遍历指定的目录并添加其中的文件。
-
The Phar : : mapPhar () method call shown above initializes the Phar archive by reading the manifest .
上面所示的Phar::mapPhar()方法调用通过读取清单文件(manifest)对Phar归档执行初始化。
-
It has been entirely designed to run from the Phar archive file , yet still provides the ability to store its configuration file outside the Phar archive .
它一直以来被设计为从Phar归档文件运行,但是仍然能够在Phar归档之外存储配置文件。
-
The concept of Phar archives come from Java ™ technology 's JAR archives , which allow you to package an application within a single file containing everything needed to run the application .
Phar归档的概念来自Java™技术的JAR归档,它允许使用单个文件打包应用程序,这个文件中包含运行应用程序所需的所有东西。
-
A second optional argument to the Phar : : createDefaultStub () method allows you to include a different file if the Phar is loaded from a Web server .
如果从Web服务器加载Phar,Phar::createDefaultStub()方法的第二个可选参数允许包含一个不同的文件。
-
The easiest way to integrate code in a Phar archive is simply by including the Phar archive , then including the file within the Phar file you wish to use .
在Phar归档中集成代码的最简单方法就是包含Phar归档,然后在Phar文件中包含需要使用的文件。