php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容

源代码在线查看: phar.using.stream.html

软件大小: 3633 K
上传用户: fengkuangyidao
关键词: php PHP 文档 实际应用
下载地址: 免注册下载 普通下载 VIP

相关代码

												 				  Using Phar Archives: the phar stream wrapper				  				 				 				 Using Phar Archives				 Using Phar Archives: the Phar and PharData class				 Using Phar Archives				 PHP Manual								 Using Phar Archives: the phar stream wrapper				 				  The Phar stream wrapper fully supports fopen() for				  read, write or append, unlink(), stat(),				  fstat(), fseek(), rename()				  and directory stream operations opendir() and as of version 2.0.0, rmdir()				  and mkdir().				 				 				  Individual file compression and per-file metadata can also be manipulated				  in a Phar archive using stream contexts:				 				 				  				   								<?php$context = stream_context_create(array('phar' =>                                    array('compress' => Phar::GZ)),                                    array('metadata' => array('user' => 'cellog')));file_put_contents('phar://my.phar/somefile.php', 0, $context);?>												   								  				 				 				  The phar stream wrapper does not operate on remote files,				  and cannot operate on remote files, and so is allowed even when the				  allow_url_fopen and				  allow_url_include INI options				  are disabled.				 				 				  Although it is possible to create phar archives from scratch just using				  stream operations, it is best to use the functionality built into				  the Phar class.  The stream wrapper is best used for read-only operations.				 								 Using Phar Archives				 Using Phar Archives: the Phar and PharData class				 Using Phar Archives				 PHP Manual											

相关资源