com php-src: note on %pd format: UPGRADING.INTERNALS
| From: | Anatol Belski | Date: | Sun, 24 Aug 2014 00:36:17 +0000 |
| Subject: | com php-src: note on %pd format: UPGRADING.INTERNALS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80835@lists.php.net to get a copy of this message | ||
Commit: 3c17ce9e0f3a0855fa936275bd7d28a51a2e4a93
Author: Anatol Belski <ab@php.net> Sun, 24 Aug 2014 02:36:17 +0200
Parents: 70de6180d5a022806212d2b6eebbba48af827940
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3c17ce9e0f3a0855fa936275bd7d28a51a2e4a93
Log:
note on %pd format
Changed paths:
M UPGRADING.INTERNALS
Diff:
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index e46581a..026b02d 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -77,6 +77,10 @@ UPGRADE NOTES - PHP X.Y
pointer address might need to be enclosed into #ifdef when it unlickily followed by
'd',
'u', 'x' or 'o'.
+ The only exceptions are the snprintf and zend_sprintf functions yet, because in some cases
+ they can use the implemenations available on the system, not the PHP one. Fro snprintf the
+ usage of the macros ZEND_INT_FMT ZEND_UINT_FMT should be used.
+
h. HashTable API
Datatype for array indexes was changed to php_uint_t, for string keys to zend_string *.