• « Changed functions
  • New Classes and Interfaces »
  • PHP 5 Manual
  • Migrating from PHP 5.6.x to PHP 7.0.x
  • New functions
Edit Report a Bug GitHub logo

New functions

Closure

  • Closure::call()

CSPRNG

  • random_bytes()
  • random_int()

Error Handling and Logging

  • error_clear_last()

Generator

  • Generator::getReturn()

GNU Multiple Precision

  • gmp_random_seed()

Math

  • intdiv()

PCRE

  • preg_replace_callback_array()

PHP Options/Info

  • 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()
  • Other versions of this page
    • PHP 5
    • PHP 7 (php.net)
    • PHP 8 (php.net)
Legacy manuals maintained by Home
  • Get help migrating a legacy app
  • Extend PHP support for EOL versions