Skip to content

Commit 10f53f1

Browse files
UPGRADING.INTERNALS: clarify [skip ci]
1 parent c866325 commit 10f53f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UPGRADING.INTERNALS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ PHP 8.5 INTERNALS UPGRADE NOTES
4747
did not match its actual behavior.
4848
. zend_register_constant() now returns a pointer to the added constant
4949
on success and NULL on failure instead of SUCCESS/FAILURE.
50-
The same is true for the specialized registration methods
50+
The specialized registration methods that previously had void returns
51+
also return pointers to the added constants:
5152
* zend_register_bool_constant()
5253
* zend_register_null_constant()
5354
* zend_register_long_constant()

0 commit comments

Comments
 (0)