• 大小: 18.55MB
    文件类型: .gz
    金币: 1
    下载: 0 次
    发布日期: 2023-07-04
  • 语言: PHP
  • 标签: php  7.3.6  

资源简介

Version 7.3.6 30 May 2019 cURL: Implemented FR #72189 (Add missing CURL_VERSION_* constants). EXIF: Fixed bug #77988 (heap-buffer-overflow on php_jpg_get16) (CVE-2019-11040). FPM: Fixed bug #77934 (php-fpm kill -USR2 not working). Fixed bug #77921 (static.php.net doesn't work anymore). GD: Fixed bug #77943 (imageantialias($image, false); does not work). Fixed bug #77973 (Uninitialized read in gdImageCreateFromXbm) (CVE-2019-11038). Iconv: Fixed bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow) (CVE-2019-11039). JSON: Fixed bug #77843 (Use after free with json serializer). Opcache: Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset. PDO_MySQL: Fixed bug #77944 (Wrong meta pdo_type for bigint on LLP64). Reflection: Fixed bug #75186 (Inconsistent reflection of Closure:::__invoke()). Session: Fixed bug #77911 (Wrong warning for session.sid_bits_per_character). SOAP: Fixed bug #77945 (Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH). SPL: Fixed bug #77024 (SplFileObject::__toString() may return array). SQLite: Fixed bug #77967 (Bypassing open_basedir restrictions via file uris). Standard: Fixed bug #77931 (Warning for array_map mentions wrong type). Fixed bug #78003 (strip_tags output change since PHP 7.3).

资源截图

代码片段和文件信息

/*
   +----------------------------------------------------------------------+
   | 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: Andi Gutmans                                   |
   +----------------------------------------------------------------------+
*/

#ifdef HAVE_CONFIG_H
#include “config.h“
#endif

#include “php.h“

#if HAVE_BCMATH

#include “php_ini.h“
#include “ext/standard/info.h“
#include “php_bcmath.h“
#include “libbcmath/src/bcmath.h“

ZEND_DECLARE_MODULE_GLOBALS(bcmath)
static PHP_GINIT_FUNCTION(bcmath);
static PHP_GSHUTDOWN_FUNCTION(bcmath);

/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO_EX(arginfo_bcadd 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcsub 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcmul 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcdiv 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcmod 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcpowmod 0 0 3)
ZEND_ARG_INFO(0 x)
ZEND_ARG_INFO(0 y)
ZEND_ARG_INFO(0 mod)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcpow 0 0 2)
ZEND_ARG_INFO(0 x)
ZEND_ARG_INFO(0 y)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcsqrt 0 0 1)
ZEND_ARG_INFO(0 operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bccomp 0 0 2)
ZEND_ARG_INFO(0 left_operand)
ZEND_ARG_INFO(0 right_operand)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_bcscale 0 0 0)
ZEND_ARG_INFO(0 scale)
ZEND_END_ARG_INFO()

/* }}} */

static const zend_function_entry bcmath_functions[] = {

评论

共有 条评论