资源简介
Linux php-7.2.6 PHP 是一种新型的 CGI 程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快
代码片段和文件信息
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2018 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license |
| that is bundled with this package in the file LICENSE and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sterling Hughes |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifdef HAVE_CONFIG_H
#include “config.h“
#endif
#include “php.h“
#include “php_bz2.h“
#if HAVE_BZ2
/* PHP Includes */
#include “ext/standard/file.h“
#include “ext/standard/info.h“
#include “ext/standard/php_string.h“
#include “main/php_network.h“
/* for fileno() */
#include
/* Internal error constants */
#define PHP_BZ_ERRNO 0
#define PHP_BZ_ERRSTR 1
#define PHP_BZ_ERRBOTH 2
static PHP_MINIT_FUNCTION(bz2);
static PHP_MSHUTDOWN_FUNCTION(bz2);
static PHP_MINFO_FUNCTION(bz2);
static PHP_FUNCTION(bzopen);
static PHP_FUNCTION(bzread);
static PHP_FUNCTION(bzerrno);
static PHP_FUNCTION(bzerrstr);
static PHP_FUNCTION(bzerror);
static PHP_FUNCTION(bzcompress);
static PHP_FUNCTION(bzdecompress);
/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO_EX(arginfo_bzread 0 0 1)
ZEND_ARG_INFO(0 bz)
ZEND_ARG_INFO(0 length)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_bzopen 0)
ZEND_ARG_INFO(0 file)
ZEND_ARG_INFO(0 mode)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_bzerrno 0)
ZEND_ARG_INFO(0 bz)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_bzerrstr 0)
ZEND_ARG_INFO(0 bz)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_bzerror 0)
ZEND_ARG_INFO(0 bz)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_bzcompress 0 0 2)
ZEND_ARG_INFO(0 source)
ZEND_ARG_INFO(0 blocksize)
ZEND_ARG_INFO(0 workfactor)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_bzdecompress 0 0 1)
ZEND_ARG_INFO(0 source)
ZEND_ARG_INFO(0 small)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_bzwrite 0 0 2)
ZEND_ARG_INFO(0 fp)
ZEND_ARG_INFO(0 str)
ZEND_ARG_INFO(0 length)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO(arginfo_bzflush 0)
ZEND_ARG_INFO(0 fp)
ZEND_END_ARG_INFO()
/* }}} */
static const zend_function_entry bz2_functions[] = {
PHP_FE(bzopen arginfo_bzopen)
PHP_FE(bzread arginfo_bzread)
相关资源
- php + mysql 服务器WampWAMP5-v1.7.4
- 旅游分享平台php源码及说明文档 非常
- 代理防伪授权查询系统WODECMSv1.2php版
- WampServer2.0.zip
- 2018最新PHP视频打赏平台 php源码
- 国外优秀交友php源码
- 仿范家屯信息网风格源码 v1.0
- wampServer2.2 32位可在XP系统中可用,适
- 2019最新微信裂变加粉PHP源码
- 基于PHP 开发的OA外勤易签到
- 投票系统php源码
- Wampserver2.4-64位标准版
- PHP从入门到精通第三版源码
- 高端装修设计公司网站源码.rar
- 巨人在线报修系统 v1.1
- 金蝶ERP php源码
- 表白墙微信小程序带php源码无后门
- 转转源码PHP版完整可运行
- 淘宝优惠券PHP源码纯净正式授权版(
- CRMPHP源码,包含主流四个开源crm
- 直播平台PHP源码,内置安装教程,全
- Ecmos(ecmall深度定制的商城购物系统)
- DSMALL商城源码Thinkphp源码B2B2C商城源码
- 最新微信裂变加粉PHP源码
- 春哥微信万能表单系统PHP源码.zip
- 菜谱网站整站程序带数据 v7.0
- 2019新ecshop小米商城php源码+购物网站模
- php最新威客任务平台源码修复版 PHP手
- 来客推小程序分销商城源码 v2.3
- EduSoho开源在线网校系统源码 v8.3.30.
评论
共有 条评论