- NaN和Infinity轉(zhuǎn)為整型的時(shí)候,始終為0。
- Instead of being undefined and platform-dependent, NaN and Infinity will always be zero when cast to integer.
- Calling a method on a non-object現(xiàn)在會(huì)拋出一個(gè)可以撲獲的錯(cuò)誤,不再是致命錯(cuò)誤。https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
- zend_parse_parameters的錯(cuò)誤信息始終使用integer, float,不再使用long和double。
- ignore_user_abort設(shè)為真的話(huà),輸出緩存會(huì)繼續(xù)工作,即使鏈接中斷。
- Zend擴(kuò)展接口使用zend_extension.op_array_persist_calc()和zend_extensions.op_array_persist() 。
- 引入了zend_internal_function.reserved[]數(shù)組。
PHP7 new features manual
/ PHP7其他修改
PHP7其他修改
PHP7其他修改