PHP 7 详解
CtrlK
  • 介绍
  • PHP 7 安装
  • PHP 7.0.x 新特性
    • OOP 特性
    • 新增操作符
    • 统一变量语法
    • 其他特性和变更
    • 补充*新函数
    • 补充*新的全局常量
    • 补充*变更的函数
    • 补充*摒弃一些老式的写法
    • 补充*不向后兼容的变更
    • 补充*在SAPI模块的变化
    • 补充*PHP7底层性能优化
  • PHP 7.1.x 新特性
  • PHP7 开发工具
  • PHP 标准规范及开发技巧
  • PHP7调试与性能分析
  • 附录*Ubuntu环境php开发配置
  • 附录*使用php开发扩展
  • 附录*浏览器插件
  • 附录*第三方类库
  • 附录*小问题整理
  • 附录*资料*工具
  • 附录*Composer
  • 附录*前端
  • 附录*进程
  • 附录*PHP的ticks机制
  • 附录* 通过composer发布自己的包
  • 附录*字符编码问题
  • 附录*注释
Powered by GitBook
On this page
  • 新函数
  • Closure
  • CSPRNG
  • Error Handling and Logging
  • Generator
  • GNU Multiple Precision
  • Math
  • PCRE
  • PHP Options/Info
  • POSIX
  • Reflection
  • Zip - 此扩展可以让你透明地读写ZIP压缩文档以及它们里面的文件。
  • Zlib Compression

Was this helpful?

  1. PHP 7.0.x 新特性

补充*新函数

参考: 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 - 此扩展可以让你透明地读写ZIP压缩文档以及它们里面的文件。

  • ZipArchive::setCompressionIndex()

  • ZipArchive::setCompressionName()

Zlib Compression

  • inflate_add()

  • deflate_add()

  • inflate_init()

  • deflate_init()

Previous补充*其他特性和变更Next补充*新的全局常量

Last updated 6 years ago

Was this helpful?