summaryrefslogtreecommitdiff
path: root/Zend/zend_string.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-02-19 01:12:05 +0400
committerDmitry Stogov <dmitry@zend.com>2014-02-19 01:12:05 +0400
commit557994d50d6d712a2a23ba0bbb3169750bf0a0cf (patch)
treec13d2d259bd06a45d8e79d0f1b839304899e5c4a /Zend/zend_string.h
parent110e01a21eef8827a0c449f23139e25a9e32e181 (diff)
downloadphp-git-557994d50d6d712a2a23ba0bbb3169750bf0a0cf.tar.gz
Use better data structures (incomplete)
Diffstat (limited to 'Zend/zend_string.h')
-rw-r--r--Zend/zend_string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_string.h b/Zend/zend_string.h
index 7cbeb26164..8b26021235 100644
--- a/Zend/zend_string.h
+++ b/Zend/zend_string.h
@@ -125,11 +125,11 @@ static zend_always_inline zend_string *zend_str_copy(zend_string *s)
static zend_always_inline zend_string *zend_str_dup(zend_string *s, int persistent)
{
- if (IS_INTERNED(s)) {
- return s;
- } else {
+//??? if (IS_INTERNED(s)) {
+//??? return s;
+//??? } else {
return STR_INIT(s->val, s->len, persistent);
- }
+//??? }
}
static zend_always_inline zend_string *zend_str_realloc(zend_string *s, int len, int persistent)