Phar
英[]
美[]
- n. 一种文件压缩格式
- abbr. 药典(pharmacopoeia);药业(pharmacy)
双语例句
- 1. Integrating Phar archive code in your application.
- 在应用程序中集成Phar归档代码。
youdao
- 2. Let's see how easy it is to integrate a Phar into your application.
- 让我们看一看在应用程序中集成Phar有多么容易。
youdao
- 3. ZIP - and TAR-based archives require the Phar extension to be loaded.
- 基于ZIP和TAR的归档需要加载Phar扩展。
youdao
- 4. By default, the Phar created will use the native Phar-based archive format.
- 默认情况下,创建的Phar将使用原生的基于Phar的归档格式。
youdao
- 5. We have now created a Phar archive, which can be used by any PHP application.
- 我们现在已经创建了一个Phar归档,它可以用于任何PHP应用程序。
youdao
- 6. This is especially true if you have used the native Phar-based archive format.
- 如果使用的是原生的基于Phar的归档格式,这一点尤其明显。
youdao
- 7. The object reference will allow you to control all aspects of the Phar archive.
- 对象引用将允许您控制Phar归档的所有方面。
youdao
- 8. Listing 8 adds all of the PHP files in the stated directory to the Phar archive.
- 清单8将指定目录中的PHP文件添加到Phar归档。
youdao
- 9. This setting is not required to open or reference files within a Phar archive within PHP.
- 在PHP的Phar归档内打开和引用文件时不需要使用到该设置。
youdao
- 10. How to add this stub to your Phar archive depends upon what archive format you are using.
- 如何将这个文件存根Phar添加到Phar归档取决于所使用的归档的格式。
youdao
- 11. The first parameter to the constructor is the path to where the Phar file should be saved.
- 构造函数的第一个参数表示保存Phar文件的位置。
youdao
- 12. The third parameter is the alias for how this Phar archive is referred to in the streams context.
- 第三个参数是在流上下文中引用Phar归档的别名。
youdao
- 13. Let's look at the steps needed to create a Phar archive that can be used to drive an application.
- 让我们看一看创建可用于驱动应用程序的Phar文件需要哪些步骤。
youdao
- 14. Next, you'll need to define the file stub, which is the first code called when the Phar file is loaded.
- 接下来,将需要定义文件存根(stub),这是在加载Phar文件时首先调用的代码。
youdao
- 15. In addition, in order to create and modify phar files, the php.ini setting phar.readonly must be set to 0.
- 此外,要创建和修改phar文件,php . ini设置phar . readonly必须被设置为0。
youdao
- 16. You should stick to the Phar-based archive format with no compression of the files in the archive for maximum portability.
- 您应当始终使用基于Phar 的归档格式,并且不对归档中的文件进行压缩,从而获得最大的灵活性。
youdao
- 17. The second include USES the stream wrapper to open the Phar archive and only includes the specified file inside the archive.
- 第二个include使用流包装器打开Phar归档并且仅在归档中包括指定的文件。
youdao
- 18. 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天生就可以加载文件并提取文件内容。
youdao
- 19. Note that you don't need to include the Phar archive itself before including a file inside the archive, as shown in Listing 10.
- 注意在归档中包含文件之前,您不需要包含Phar归档本身,如清单10所示。
youdao
- 20. 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 Listing 1.
- 第一步是创建Phar文件,因此我们将创建清单1所示的Phar对象。
youdao
- 21. You can also use the ZIP or TAR format for the Phar file by converting it to that format, shown in Listing 2, by changing the format to ZIP.
- 还可以按照清单2 所示将格式转换为ZIP 格式,从而对 Phar文件使用 ZIP或TAR 格式。
youdao
- 22. 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归档之外存储配置文件。
youdao
- 23. 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文件中包含需要使用的文件。
youdao
- 24. Two styles of iterators are supported: iterators that map the filename within the Phar to the name of a file on disk and iterators that return SplFileInfo objects.
- 支持两种风格的迭代器:一种是将Phar中的文件名映射到磁盘文件的名称,另一种是返回SplFileInfo对象。
youdao
- 25. Result The cilium columnar epithelia or cylindric cell have be found in sputum of the tracheal, no cell mentioned above was checked in sputum collected from phar…
- 结果气管内痰液可查到纤毛柱状上皮细胞或圆柱形柱状细胞,但咽部痰液查不到上述细胞。
youdao
- 26. The Phar object uses the ArrayAccess SPL object to allow accessing the contents of the archive as an array, so it opens up many ways of adding files to the archive.
- Phar对象使用ArrayAccessSPL 对象,允许以数组的形式访问归档内容,因此提供了许多方法来向归档添加文件。
youdao
- 27. The advantage to this approach is that it makes it easy to deploy the application and with no performance penalty, thanks to several of the enhancements made to Phar in PHP V5.3.
- 这种方法的优点就是简化应用程序部署并且不会降低性能,它主要得益于PHP V5.3 中新增的若干Phar 增强。
youdao
- 28. 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.
- Phar归档可以通过require或include函数轻松地从PHP文件加载,或者通过使用名称指定Phar归档,直接从浏览器或命令行执行。
youdao
- 29. 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.
- Phar归档可以通过require或include函数轻松地从PHP文件加载,或者通过使用名称指定Phar归档,直接从浏览器或命令行执行。
youdao
百度翻译
有道翻译