请输入您要查询的英文单词或汉字:

 

单词 phar
释义 phar 英'fɑː美'fɑː BNC¹⁰⁴⁵⁸⁴⁺
基本例句
医药学,药剂学,调剂学,药房,药的,制药的,药学的,药典
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文件中包含需要使用的文件。 ibm

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归档,它允许使用单个文件打包应用程序,这个文件中包含运行应用程序所需的所有东西。 ibm

The object reference will allow you to control all aspects of the Phar archive.
对象引用将允许您控制 Phar归档的所有方面。 ibm

There are several steps needed to create a Phar file.
创建 Phar文件需要执行若干步骤。 ibm

By default, the Phar created will use the native Phar-based archive format.
默认情况下,创建的 Phar将使用原生的基于 Phar的归档格式。 ibm

How to add this stub to your Phar archive depends upon what archive format you are using.
如何将这个文件存根 Phar添加到 Phar归档取决于所使用的归档的格式。 ibm

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天生就可以加载文件并提取文件内容。 ibm

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归档之外存储配置文件。 ibm

Let's look at the steps needed to create a Phar archive that can be used to drive an application.
让我们看一看创建可用于驱动应用程序的 Phar文件需要哪些步骤。 ibm

Let's see how easy it is to integrate a Phar into your application.
让我们看一看在应用程序中集成 Phar有多么容易。 ibm

Listing8 adds all of the PHP files in the stated directory to the Phar archive.
清单8将指定目录中的 PHP文件添加到 Phar归档。 ibm

Note that you don't need to include the Phar archive itself before including a file inside the archive, as shown in Listing10.
注意在归档中包含文件之前,您不需要包含 Phar归档本身,如清单10所示。 ibm

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归档打包整个应用程序并进行发布。 ibm

Since then, quite a bit of work has been done to improve the performance of Phar archives.
自那时起,人们做了大量工作来改善 Phar归档的性能。 ibm

The first parameter to the constructor is the path to where the Phar file should be saved.
构造函数的第一个参数表示保存 Phar文件的位置。 ibm

The first step is to create the Phar file, so we'll do this by creating the Phar object we'll be working with for this example in Listing1.
第一步是创建 Phar文件,因此我们将创建清单1所示的 Phar对象。 ibm

The third parameter is the alias for how this Phar archive is referred to in the streams context.
第三个参数是在流上下文中引用 Phar归档的别名。 ibm

This experience gave me a new perspective on the plague of gnats that God visited upon Egypt when Phar-ooh would not free the Israelites.
这次体会使我对上帝为了让埃及法老释放以色列人而降的虱灾,有了一种新的看法。 ymnl

This is especially true if you have used the native Phar-based archive format.
如果使用的是原生的基于 Phar的归档格式,这一点尤其明显。 ibm

This setting is not required to open or reference files within a Phar archive within PHP.
在 PHP的 Phar归档内打开和引用文件时不需要使用到该设置。 ibm

We have now created a Phar archive, which can be used by any PHP application.
我们现在已经创建了一个 Phar归档,它可以用于任何 PHP应用程序。 ibm

You can also use the ZIP or TAR format for the Phar file by converting it to that format, shown in Listing2, by changing the format to ZIP.
还可以按照清单2所示将格式转换为 ZIP格式,从而对 Phar文件使用 ZIP或 TAR格式。 ibm

You should stick to the Phar-based archive format with no compression of the files in the archive for maximum portability.
您应当始终使用基于 Phar的归档格式,并且不对归档中的文件进行压缩,从而获得最大的灵活性。 ibm

ZIP- and TAR-based archives require the Phar extension to be loaded.
基于 ZIP和 TAR的归档需要加载 Phar扩展。 ibm

The Phar extension is based on a similar concept, but it is designed more for the Web environment of PHP.
Phar扩展正是基于类似的理念,但是在设计时主要针对 PHP的 Web环境。 ibm
随便看

 

英汉汉英双解词典包含9999994条英汉翻译词条,涵盖了常用英语单词及词组短语的翻译及用法,是英语学习的必备工具。

 

Copyright © 2000-2023 Tbdmj.com All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/5 16:27:26