Skip to content

Commit 0824c3d

Browse files
committed
Reflect changes in UPGRADING
1 parent 291f1fb commit 0824c3d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ PHP 8.0 UPGRADE NOTES
125125
warning.
126126
. Uncaught exceptions now go through "clean shutdown", which means that
127127
destructors will be called after an uncaught exception.
128+
. Compile time fatal error "Only variables can be passed by reference" has been
129+
delayed until run-time and converted to "Cannot pass parameter by reference"
130+
exception.
131+
. Some "Only variables should be passed by reference" notices have been converted
132+
to "Cannot pass parameter by reference" exception.
128133

129134
- COM:
130135
. Removed the ability to import case-insensitive constants from type

UPGRADING.INTERNALS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ PHP 8.0 INTERNALS UPGRADE NOTES
1111
h. zend_value_error()
1212
i. get_closure() object handler
1313
j. compare_objects() and compare() object handlers
14+
k. The 'I' length modifier
15+
l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR
1416

1517
2. Build system changes
1618
a. Abstract
@@ -89,6 +91,13 @@ PHP 8.0 INTERNALS UPGRADE NOTES
8991
The 'v' format from the custom snprintf and spprintf implementations has
9092
been removed. Use the standard 's' format instead.
9193

94+
l. Some VM instructions switched to IS_TMP_VAR result insted of IS_VAR.
95+
Actually, all assignments (ZEND_ASSIGN, ZEND_ASSIGN_DIM, ZEND_ASSIGN_OBJ,
96+
ZEND_ASSIGN_STATIC_PROP), all compound assignments (ZEND_ASSIGN_OP,
97+
ZEND_ASSIGN_DIM_OP, ZEND_ASSIGN_OBJ_OP, ZEND_ASSIGN_STATIC_PROP_OP) and all
98+
pre increments/decremets (ZEND_PRE_INC, ZEND_PRE_DEC, ZEND_PRE_INC_OBJ
99+
ZEND_PRE_DEC_OBJ, ZEND_PRE_INC_STATIC_PROP ZEND_PRE_DEC_STATIC_PROP).
100+
92101
========================
93102
2. Build system changes
94103
========================

0 commit comments

Comments
 (0)