• « 变更的函数
  • 新的类和接口 »
  • PHP Manual
  • 从 PHP 5.6.x 移植到 PHP 7.0.x
  • 新函数

新函数

Closure

  • Closure::call()

CSPRNG

  • random_bytes()
  • random_int()

错误处理和日志

  • error_clear_last()

Generator

  • Generator::getReturn()

GNU 多重精度

  • gmp_random_seed()

Math

  • intdiv()

PCRE

  • preg_replace_callback_array()

PHP 选项和信息

  • gc_mem_caches()
  • get_resources()

POSIX

  • posix_setrlimit()

Reflection

  • ReflectionParameter::getType()
  • ReflectionParameter::hasType()
  • ReflectionFunctionAbstract::getReturnType()
  • ReflectionFunctionAbstract::hasReturnType()

Zip

  • ZipArchive::setCompressionIndex()
  • ZipArchive::setCompressionName()

Zlib Compression

  • inflate_add()
  • deflate_add()
  • inflate_init()
  • deflate_init()