File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,9 @@ PHP 8.0 UPGRADE NOTES
226
226
2. New Features
227
227
========================================
228
228
229
+ - Core:
230
+ . Added ValueError class.
231
+
229
232
========================================
230
233
3. Changes in SAPI modules
231
234
========================================
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
8
8
e. zend_parse_parameters 'L' specifier
9
9
f. Arginfo argument types
10
10
g. zend_free_op type and should_free argument of zend_get_zval_ptr()
11
+ h. zend_value_error()
11
12
12
13
2. Build system changes
13
14
a. Abstract
@@ -66,6 +67,10 @@ PHP 8.0 INTERNALS UPGRADE NOTES
66
67
execute_data, BP_VAR_R);
67
68
zval *should_free = (op_type & (IS_TMP_VAR|IS_VAR)) ? ret : NULL;
68
69
70
+ h. Added the zend_value_error() function, which is intended to be used
71
+ to raise ValueError when inappropriate argument values are passed
72
+ to functions.
73
+
69
74
========================
70
75
2. Build system changes
71
76
========================
You can’t perform that action at this time.
0 commit comments