2019-01-28 17:34:31 +08:00
|
|
|
PHP 8.0 INTERNALS UPGRADE NOTES
|
2010-08-30 18:26:31 +08:00
|
|
|
|
|
|
|
1. Internal API changes
|
2019-02-04 18:47:09 +08:00
|
|
|
a. Object Handlers API
|
2019-02-08 02:05:46 +08:00
|
|
|
b. ZEND_OVERLOADED_FUNCTION and corresponding call_method() object handler
|
2019-03-23 15:15:53 +08:00
|
|
|
c. TSRM changes
|
2010-09-17 16:42:12 +08:00
|
|
|
|
2010-11-18 18:43:01 +08:00
|
|
|
2. Build system changes
|
2018-10-03 14:47:07 +08:00
|
|
|
a. Abstract
|
|
|
|
b. Unix build system changes
|
|
|
|
c. Windows build system changes
|
2010-11-18 18:43:01 +08:00
|
|
|
|
2015-07-03 17:46:30 +08:00
|
|
|
3. Module changes
|
2010-11-18 18:43:01 +08:00
|
|
|
|
2010-08-30 18:26:31 +08:00
|
|
|
========================
|
|
|
|
1. Internal API changes
|
|
|
|
========================
|
|
|
|
|
2019-02-08 02:05:46 +08:00
|
|
|
a. Object Handlers API and some related functions, e.g. zend_call_method() and
|
|
|
|
zend_objects_clone_obj() were changed to receive zend_object* instead of
|
|
|
|
zval* and zend_string* instead of zval* for property names.
|
2019-02-04 18:47:09 +08:00
|
|
|
|
2019-02-08 02:05:46 +08:00
|
|
|
b. ZEND_OVERLOADED_FUNCTION and corresponding call_method() object handler
|
|
|
|
were removed. ZEND_INTERNAL_FUNCTION with ZEND_ACC_CALL_VIA_HANDLER and
|
|
|
|
defined "handler" callback should be used instead. This "handler" callback
|
|
|
|
should also take care about function cleanup. See ext/zend_test/test.c
|
|
|
|
for example.
|
2019-03-23 15:15:53 +08:00
|
|
|
|
|
|
|
c. The following things have been removed from TSRM:
|
|
|
|
- TSRMLS_DC
|
|
|
|
- TSRMLS_D
|
|
|
|
- TSRMLS_CC
|
|
|
|
- TSRMLS_CC
|
|
|
|
- TSRMLS_FETCH
|
|
|
|
- TSRMLS_FETCH_FROM_CTX
|
|
|
|
- TSRMLS_SET_CTX
|
|
|
|
- tsrm_new_interpreter_context
|
|
|
|
- tsrm_set_interpreter_context
|
|
|
|
- tsrm_free_interpreter_context
|
|
|
|
- support for GNUPTH, SGI ST, and BETHREADS
|
|
|
|
|
2019-01-07 19:28:51 +08:00
|
|
|
|
2010-11-18 18:43:01 +08:00
|
|
|
========================
|
|
|
|
2. Build system changes
|
|
|
|
========================
|
|
|
|
|
2018-10-03 14:47:07 +08:00
|
|
|
a. Abstract
|
|
|
|
|
|
|
|
b. Unix build system changes
|
2019-03-22 17:10:01 +08:00
|
|
|
|
|
|
|
1. --enable-maintainer-zts is renamed --enable-zts for parity with Windows
|
|
|
|
and as recognition that ZTS is not a "maintainer" or experimental feature.
|
2014-11-10 21:25:14 +08:00
|
|
|
|
2018-10-03 14:47:07 +08:00
|
|
|
c. Windows build system changes
|
2014-11-10 21:25:14 +08:00
|
|
|
|
2015-01-26 05:14:40 +08:00
|
|
|
========================
|
|
|
|
3. Module changes
|
|
|
|
========================
|
2018-09-16 17:07:40 +08:00
|
|
|
|