/php-src/ext/mysqli/tests/ |
H A D | mysqli_result_references_mysqlnd.phpt | 65 string(1) "1" interned 67 string(1) "a" interned 71 string(1) "1" interned 74 string(1) "1" interned 87 string(1) "1" interned 89 string(1) "a" interned 93 string(1) "1" interned 96 string(1) "1" interned 114 string(1) "2" interned 116 string(1) "b" interned [all …]
|
H A D | mysqli_result_references.phpt | 160 string(1) "1" interned 162 string(1) "a" interned
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_b.phpt | 150 string(0) "" interned 152 string(0) "" interned 154 string(1) " " interned 156 string(1) " " interned 158 string(1) "0" interned 160 string(1) "%0" interned 162 string(2) "\0" interned 164 string(1) " " interned 166 string(2) "\t" interned 185 array(0) interned { [all …]
|
H A D | debug_zval_dump_b_64bit.phpt | 154 string(0) "" interned 156 string(0) "" interned 158 string(1) " " interned 160 string(1) " " interned 162 string(1) "0" interned 164 string(1) "%0" interned 166 string(2) "\0" interned 168 string(1) " " interned 170 string(2) "\t" interned 189 array(0) interned { [all …]
|
H A D | debug_zval_dump_v.phpt | 191 string(7) "TRUE123" interned 193 string(9) "123string" interned 195 string(9) "string123" interned 197 string(10) "NULLstring" interned
|
/php-src/Zend/tests/enum/ |
H A D | unserialize-refcount.phpt | 28 string(3) "Bar" interned 32 string(3) "Bar" interned 36 string(3) "Bar" interned 40 string(3) "Bar" interned 44 string(3) "Bar" interned
|
H A D | cases-refcount.phpt | 21 string(3) "Bar" interned
|
/php-src/ext/standard/ |
H A D | browscap.c | 219 if (interned) { in browscap_intern_str() 220 zend_string_addref(interned); in browscap_intern_str() 224 interned = zend_new_interned_string(interned); in browscap_intern_str() 226 zend_hash_add_new_ptr(&ctx->str_interned, interned, interned); in browscap_intern_str() 229 return interned; in browscap_intern_str() 235 zend_string *interned; in browscap_intern_str_ci() local 242 if (interned) { in browscap_intern_str_ci() 243 zend_string_addref(interned); in browscap_intern_str_ci() 247 interned = zend_new_interned_string(interned); in browscap_intern_str_ci() 249 zend_hash_add_new_ptr(&ctx->str_interned, interned, interned); in browscap_intern_str_ci() [all …]
|
/php-src/Zend/tests/ |
H A D | assign_coalesce_006.phpt | 2 Null coalesce assign with memoized constant operand that is later interned (OSS-Fuzz #17903)
|
H A D | class_toString_concat_non_interned_with_itself.phpt | 2 Test concatenating a class instance that has __toString with itself that uses a non-interned string
|
H A D | oss_fuzz_54325.phpt | 11 // Needs to be non-interned string
|
H A D | bug64555.phpt | 2 Bug #64555: Array key within interned string gets wrong hash value
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 139 increased if the string is interned. 145 - Creates a true copy of the string in a new allocation, except if the string is interned. 154 the string is interned, a new string is created. You must always use the return value of 170 string interning. Essentially, this is just a simple `HashTable <todo>`__ where existing interned 171 strings are stored. When creating a new interned string, php-src first checks the interned string 192 if you're using php-fpm with 8 workers, all workers will share the same interned strings buffer. It 193 gets a bit more complicated. During requests, no interned strings are actually created. Instead, 195 ``zend_new_interned_string`` may not actually return an interned string if opcache is enabled.
|
/php-src/ext/standard/tests/array/ |
H A D | bug72369.phpt | 15 string(3) "xxx" interned
|
/php-src/ext/opcache/tests/ |
H A D | gh9259_003.phpt | 20 %sFatal Error Insufficient shared memory for interned strings buffer! (tried to allocate %d bytes)
|
/php-src/ext/xsl/tests/ |
H A D | getParameter.phpt | 16 // Non-interned string test
|
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/ |
H A D | selectors.h | 80 bool interned; member
|
H A D | selectors.c | 57 if (id->interned && (ptr & (ZEND_MM_ALIGNMENT - 1)) != 0) { in lxb_selectors_adapted_cmp_local_name_id() 91 …const xmlChar *interned = xmlDictExists(node->doc->dict, selector->name.data, selector->name.lengt… in lxb_selectors_adapted_set_entry_id_ex() local 92 if (interned != NULL) { in lxb_selectors_adapted_set_entry_id_ex() 93 entry->id.name = interned; in lxb_selectors_adapted_set_entry_id_ex() 94 entry->id.interned = true; in lxb_selectors_adapted_set_entry_id_ex() 100 entry->id.interned = false; in lxb_selectors_adapted_set_entry_id_ex()
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | Element_innerHTML.phpt | 22 // Create a non-interned string that gets the UTF-8 validity flag added
|
/php-src/ext/zend_test/tests/ |
H A D | strings_not_marked_as_utf8.phpt | 48 // The previous "foo" test case works because it is not interned.
|
H A D | strings_marked_as_utf8.phpt | 55 // The previous "foo" test case works because it is not interned.
|
/php-src/Zend/ |
H A D | zend_hash.h | 1622 …_always_inline zval *_zend_hash_append_ex(HashTable *ht, zend_string *key, zval *zv, bool interned) in _zend_hash_append_ex() argument 1629 if (!interned && !ZSTR_IS_INTERNED(key)) { in _zend_hash_append_ex() 1648 …ys_inline zval *_zend_hash_append_ptr_ex(HashTable *ht, zend_string *key, void *ptr, bool interned) in _zend_hash_append_ptr_ex() argument 1655 if (!interned && !ZSTR_IS_INTERNED(key)) { in _zend_hash_append_ptr_ex()
|
/php-src/ |
H A D | php.ini-development | 1672 ; The amount of memory for interned strings in Mbytes.
|
H A D | php.ini-production | 1674 ; The amount of memory for interned strings in Mbytes.
|