File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
14
14
k. The 'I' length modifier
15
15
l. Some VM instructions switched to IS_TMP_VAR result instead of IS_VAR
16
16
m. All internal functions must have arginfo
17
- n. zend_hash_sort compare function signature change
17
+ n. zend_hash_sort and zend_hash_sort compare function signature change
18
18
o. cast_object() object handler is now required
19
19
p. ARG_COUNT() macro removed
20
20
q. GC_COLLECTABLE flag
@@ -113,6 +113,8 @@ PHP 8.0 INTERNALS UPGRADE NOTES
113
113
typedef int (*bucket_compare_func_t)(Bucket *a, Bucket *b);
114
114
115
115
Previously compare_func_t was used, which accepted void pointers.
116
+ Furthermore, the return type of zend_hash_sort and zend_ts_hash_sort has
117
+ been changed from int to void; these functions always succeed.
116
118
117
119
o. The cast_object() handler is now required, i.e. must be non-null. You can
118
120
indicate that casting is not supported by always returning FAILURE.
You can’t perform that action at this time.
0 commit comments