Skip to content

Commit a57ff74

Browse files
committed
UPGRADING.INTERNALS
1 parent d8363f7 commit a57ff74

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

UPGRADING.INTERNALS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ PHP 8.6 INTERNALS UPGRADE NOTES
1414
1. Internal API changes
1515
========================
1616

17+
- Breaking changes:
18+
. String formatting functions now support the custom conversion specifiers
19+
'pS' (zend_string*) and 'pp' (same as 'p'). Following the 'p' specifier with
20+
an alpha-numeric character other than 'S' or 'p' is now an error.
21+
22+
Examples:
23+
24+
zend_string *str;
25+
zend_spprintf("%pS", str); // valid, same as "%S"
26+
zend_spprintf("%pp", str); // valid, same as "%p"
27+
zend_spprintf("%pA", str); // invalid
28+
zend_spprintf("%ppA", str); // valid, same as zend_spprintf("%p%c", str, 'A')
29+
1730
- Removed:
1831
. The misnamed ZVAL_IS_NULL() has been removed. Use Z_ISNULL() instead.
1932
. The zval_is_true() alias of zend_is_true() has been removed. Call

0 commit comments

Comments
 (0)