summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-22 13:22:49 +0200
committerAnatol Belski <ab@php.net>2014-08-22 13:22:49 +0200
commit24cf50d2df70c1abbc45b207ee61176a368ca21f (patch)
treed0ed03348d2a70d609b9b9faeb86412a4b365ffd /UPGRADING.INTERNALS
parentc893552a9af7ca6de8e25f07b44ac72b2112958b (diff)
downloadphp-git-24cf50d2df70c1abbc45b207ee61176a368ca21f.tar.gz
note on hash table and sprintf
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS19
1 files changed, 17 insertions, 2 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 83ce72594f..f0eed8c0d4 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -9,6 +9,8 @@ UPGRADE NOTES - PHP X.Y
d. Arginfo changes
e. New data types
f. zend_parse_parameters() specs
+ g. sprintf() formats
+ h. HashTable API
2. Build system changes
a. Unix build system changes
@@ -61,8 +63,21 @@ UPGRADE NOTES - PHP X.Y
f. zend_parse_parameters() specs
- The new spec 'S' introduced, which expects an argument of type zend_string *.
- The new specs 'i' and 'I' introduced, which expect an argument of type php_int_t.
+ The new spec 'S' introduced, which expects an argument of type zend_string *.
+ The new specs 'i' and 'I' introduced, which expect an argument of type php_int_t.
+
+ g. sprintf() formats
+
+ New printf modifier 'p' was implemented to platform independently output php_int_t,
+ php_uint_t and php_size_t datatypes. That modifier can be used with'd', 'u', 'x' and 'o'
+ printf format specs with spprintf, snprintf and the wrapping printf implementations.
+ %pu is sufficient for both php_uint_t and php_size_t. the code using %p spec to output
+ pointer address might need to be enclosed into #ifdef when it unlickily followed by 'd',
+ 'u', 'x' or 'o'.
+
+ h. HashTable API
+
+ Datatype for array indexes was changed to php_uint_t, for string keys to zend_string *.
========================
2. Build system changes