# PHP 7 详解

## PHP 7 详解

- [介绍](https://php7.shujuwajue.com/master.md)
- [PHP 7 安装](https://php7.shujuwajue.com/php-7-an-zhuang.md)
- [PHP 7.0.x 新特性](https://php7.shujuwajue.com/php-70x-xin-te-xing.md)
- [OOP 特性](https://php7.shujuwajue.com/php-70x-xin-te-xing/oop-te-xing.md)
- [类型声明](https://php7.shujuwajue.com/php-70x-xin-te-xing/oop-te-xing/lei-xing-sheng-ming.md)
- [命名空间与use关键词批量声明](https://php7.shujuwajue.com/php-70x-xin-te-xing/oop-te-xing/ming-ming-kong-jian-yu-use-guan-jian-ci-pi-liang-sheng-ming.md)
- [匿名类](https://php7.shujuwajue.com/php-70x-xin-te-xing/oop-te-xing/ni-ming-lei.md)
- [Throwable 接口](https://php7.shujuwajue.com/php-70x-xin-te-xing/oop-te-xing/throwable-jie-kou.md)
- [新增操作符](https://php7.shujuwajue.com/php-70x-xin-te-xing/xin-zeng-cao-zuo-fu.md)
- [太空飞船操作符（<=>）](https://php7.shujuwajue.com/php-70x-xin-te-xing/xin-zeng-cao-zuo-fu/tai-kong-fei-chuan-cao-zuo-fu-ff083c3d3e-ff09.md)
- [null 合并运算符（??）](https://php7.shujuwajue.com/php-70x-xin-te-xing/xin-zeng-cao-zuo-fu/null-he-bing-yun-suan-fu-ff083f3f-ff09.md)
- [统一变量语法](https://php7.shujuwajue.com/php-70x-xin-te-xing/uniform-bian-liang-yu-fa.md)
- [其他特性和变更](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng.md)
- [常量数组](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/chang-liang-shu-zu.md)
- [Switch 中的多个default默认值](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/switch-zhong-de-duo-ge-default-mo-ren-zhi.md)
- [Session\_start 函数中的参数数组](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/sessionstart-han-shu-zhong-de-can-shu-shu-zu.md)
- [Unserialize 函数引入过滤器](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/unserialize-han-shu-yin-ru-guo-lv-qi.md)
- [整数除法函数 intdiv()](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/zheng-shu-chu-fa-han-shu-intdiv.md)
- [补充\*其他特性和变更](https://php7.shujuwajue.com/php-70x-xin-te-xing/qi-ta-te-xing-he-bian-geng/bu-5145-qi-ta-te-xing-he-bian-geng.md)
- [补充\*新函数](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-5145-xin-han-shu.md)
- [补充\*新的全局常量](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-5145-xin-de-quan-ju-chang-liang.md)
- [补充\*变更的函数](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-5145-bian-geng-de-han-shu.md)
- [补充\*摒弃一些老式的写法](https://php7.shujuwajue.com/php-70x-xin-te-xing/bing-qi-yi-xie-lao-shi-de-xie-fa.md)
- [补充\*不向后兼容的变更](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-xiang-hou-jian-rong-de-bian-geng.md)
- [补充\*在SAPI模块的变化](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-5145-zai-sapi-mo-kuai-de-bian-hua.md)
- [补充\*PHP7底层性能优化](https://php7.shujuwajue.com/php-70x-xin-te-xing/bu-5145-php7-di-ceng-xing-neng-you-hua.md)
- [PHP 7.1.x 新特性](https://php7.shujuwajue.com/php-71x-xin-te-xing.md)
- [新特性](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing.md)
- [可为空（Nullable）类型](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/ke-wei-kong-ff08-nullable-ff09-lei-xing.md)
- [对称阵列解构](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/dui-cheng-zhen-lie-jie-gou.md)
- [Void 函数](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/void-han-shu.md)
- [类常量访问权限控制](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/lei-chang-liang-private-protected-public-quan-xian-kong-zhi.md)
- [多异常捕获处理](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/duo-yi-chang-bu-huo-chu-li.md)
- [list()现在支持键名](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/listxian-zai-zhi-chi-jian-ming.md)
- [支持为负的字符串偏移量](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/zhi-chi-wei-fu-de-zi-fu-chuan-pian-yi-liang.md)
- [补充\*其他特性与变更](https://php7.shujuwajue.com/php-71x-xin-te-xing/xin-te-xing/bu-5145-qi-ta-te-xing-yu-bian-geng.md)
- [补充\*新的函数](https://php7.shujuwajue.com/php-71x-xin-te-xing/bu-5145-xin-de-han-shu.md)
- [补充\*新增的全局常量](https://php7.shujuwajue.com/php-71x-xin-te-xing/bu-5145-xin-zeng-de-quan-ju-chang-liang.md)
- [补充:不向后兼容的变更](https://php7.shujuwajue.com/php-71x-xin-te-xing/bu-51453a-bu-xiang-hou-jian-rong-de-bian-geng.md)
- [补充\*废弃的特性](https://php7.shujuwajue.com/php-71x-xin-te-xing/fei-qi-de-te-xing.md)
- [补充\*变更的函数](https://php7.shujuwajue.com/php-71x-xin-te-xing/bu-5145-bian-geng-de-han-shu.md)
- [补充\*其他的变更](https://php7.shujuwajue.com/php-71x-xin-te-xing/bu-5145-qi-ta-de-bian-geng.md)
- [PHP7 开发工具](https://php7.shujuwajue.com/kai-fa-gong-ju.md)
- [Eclipse 安装与配置](https://php7.shujuwajue.com/kai-fa-gong-ju/eclipse-an-zhuang-yu-pei-zhi.md)
- [PHP 标准规范及开发技巧](https://php7.shujuwajue.com/php-biao-zhun-gui-fan-ji-kai-fa-ji-qiao.md)
- [PHP 标准规范 - PSR](https://php7.shujuwajue.com/php-biao-zhun-gui-fan-ji-kai-fa-ji-qiao/php-biao-zhun-gui-fan-psr.md)
- [PHP 开发技巧](https://php7.shujuwajue.com/php-biao-zhun-gui-fan-ji-kai-fa-ji-qiao/phpkai-fa-ji-qiao.md)
- [面向对象编程的基本原则](https://php7.shujuwajue.com/php-biao-zhun-gui-fan-ji-kai-fa-ji-qiao/mian-xiang-dui-xiang-bian-cheng-de-ji-ben-yuan-ze.md)
- [PHP７调试与性能分析](https://php7.shujuwajue.com/phpff17-diao-shi.md)
- [调试 - Xdebug安装配置](https://php7.shujuwajue.com/phpff17-diao-shi/xdebug.md)
- [使用Eclipse调试](https://php7.shujuwajue.com/phpff17-diao-shi/xdebug/shi-yong-eclipse-diao-shi.md)
- [性能分析 - Xhprof](https://php7.shujuwajue.com/phpff17-diao-shi/xing-neng-fen-xi-xhprof.md)
- [性能分析 - Vld](https://php7.shujuwajue.com/phpff17-diao-shi/xing-neng-fen-xi-vld.md)
- [附录\*Ubuntu环境php开发配置](https://php7.shujuwajue.com/fu-5f55-ubuntu-huan-jing-php-kai-fa-pei-zhi.md)
- [附录\*使用php开发扩展](https://php7.shujuwajue.com/fu-5f55-shi-yong-php-kai-fa-kuo-zhan.md)
- [附录\*浏览器插件](https://php7.shujuwajue.com/fu-5f55-liu-lan-qi-cha-jian.md)
- [附录\*第三方类库](https://php7.shujuwajue.com/fu-5f55-di-san-fang-kuo-zhan.md)
- [附录\*小问题整理](https://php7.shujuwajue.com/fu-5f55-xiao-wen-ti-zheng-li.md)
- [附录\*资料\*工具](https://php7.shujuwajue.com/fu-5f55-zi-liao.md)
- [附录\*Composer](https://php7.shujuwajue.com/fu-5f55-composer.md)
- [附录\*前端](https://php7.shujuwajue.com/fu-5f55-qian-duan.md)
- [附录\*进程](https://php7.shujuwajue.com/fu-lu-jin-cheng.md)
- [附录\*PHP的ticks机制](https://php7.shujuwajue.com/fu-5f55-php-de-ticks-ji-zhi.md)
- [附录\* 通过composer发布自己的包](https://php7.shujuwajue.com/fu-5f55-tong-guo-composer-fa-bu-zi-ji-de-bao.md)
- [附录\*字符编码问题](https://php7.shujuwajue.com/fu-5f55-zi-fu-bian-ma-wen-ti.md)
- [附录\*注释](https://php7.shujuwajue.com/fu-5f55-zhu-shi.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://php7.shujuwajue.com/master.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
