Skip to content

Commit 4253811

Browse files
salathepcowburn
authored andcommitted
upgrading notes for ValueError/zend_value_error()
1 parent 02c83b8 commit 4253811

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ PHP 8.0 UPGRADE NOTES
226226
2. New Features
227227
========================================
228228

229+
- Core:
230+
. Added ValueError class.
231+
229232
========================================
230233
3. Changes in SAPI modules
231234
========================================

UPGRADING.INTERNALS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
88
e. zend_parse_parameters 'L' specifier
99
f. Arginfo argument types
1010
g. zend_free_op type and should_free argument of zend_get_zval_ptr()
11+
h. zend_value_error()
1112

1213
2. Build system changes
1314
a. Abstract
@@ -66,6 +67,10 @@ PHP 8.0 INTERNALS UPGRADE NOTES
6667
execute_data, BP_VAR_R);
6768
zval *should_free = (op_type & (IS_TMP_VAR|IS_VAR)) ? ret : NULL;
6869

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+
6974
========================
7075
2. Build system changes
7176
========================

0 commit comments

Comments
 (0)