summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS8
1 files changed, 8 insertions, 0 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index e8e0982042..474aed55f7 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -8,6 +8,7 @@ UPGRADE NOTES - PHP X.Y
c. POST data handling
d. Arginfo changes
e. tsrm_virtual_cwd.h moved to zend_virtual_cwd.h
+ f. empty strings are interned
2. Build system changes
a. Unix build system changes
@@ -115,6 +116,13 @@ UPGRADE NOTES - PHP X.Y
Memory allocation is now managed by emalloc/efree instead of malloc/free.
+ f. empty strings are interned
+
+ String created using STR_EMPTY_ALLOC() are now interned.
+ convert_to_string use STR_EMPTY_ALLOC() for zval when IS_NULL.
+ STR_FREE() shoud be prefered as efree on such strings can raise memory corruption.
+
+
========================
2. Build system changes
========================