Skip to content

Commit ecce211

Browse files
committed
Added note about zend_function.reserved[] fields usage
1 parent 7793bc8 commit ecce211

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ PHP 7.3 INTERNALS UPGRADE NOTES
1919
p. VM instruction operands (FETCH_CLASS, FETCH_CONSTANT, CATCH)
2020
q. sapi_cli_single_write()
2121
r. php_url
22+
s. zend_function.reserved[]
2223

2324
2. Build system changes
2425
a. Unix build system changes
@@ -129,6 +130,10 @@ PHP 7.3 INTERNALS UPGRADE NOTES
129130

130131
r. fields of php_url struct change from char * to zend_string *
131132

133+
s. Specual purose zend_functions marked by ZEND_ACC_CALL_VIA_TRAMPOLINE or
134+
ZEND_ACC_FAKE_CLOSURE flags use reserved[0] for internal purpose.
135+
Third party extensions must not modify reserved[] fileds of these functins.
136+
132137
========================
133138
2. Build system changes
134139
========================

0 commit comments

Comments
 (0)