- NaN和Infinity轉(zhuǎn)為整型的時候,始終為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)在會拋出一個可以撲獲的錯誤,不再是致命錯誤。https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
- zend_parse_parameters的錯誤信息始終使用integer, float,不再使用long和double。
- ignore_user_abort設(shè)為真的話,輸出緩存會繼續(xù)工作,即使鏈接中斷。
- Zend擴(kuò)展接口使用zend_extension.op_array_persist_calc()和zend_extensions.op_array_persist() 。
- 引入了zend_internal_function.reserved[]數(shù)組。
PHP7 ??? ?? ???
/ PHP7其他修改
PHP7其他修改
PHP7其他修改