diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-02-19 01:12:05 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-02-19 01:12:05 +0400 |
commit | 557994d50d6d712a2a23ba0bbb3169750bf0a0cf (patch) | |
tree | c13d2d259bd06a45d8e79d0f1b839304899e5c4a /Zend/zend_string.h | |
parent | 110e01a21eef8827a0c449f23139e25a9e32e181 (diff) | |
download | php-git-557994d50d6d712a2a23ba0bbb3169750bf0a0cf.tar.gz |
Use better data structures (incomplete)
Diffstat (limited to 'Zend/zend_string.h')
-rw-r--r-- | Zend/zend_string.h | 8 |
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) |