/PHP-7.4/ |
H A D | NEWS | 430 . Fixed bug #80747 (Providing RSA key size < 512 generates key that crash 802 . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile 948 . Fixed bug #79364 (When copy empty array, next key is unspecified). (cmb) 1222 . Fixed bug #78903 (Conflict in RTD key for closures results in crash). 2676 . Fixed bug #76463 (var has array key type but not value type). (Laruence)
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 4098 zend_string *key; in php_imagettftext_common() local 4101 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(EXT), key, item) { in php_imagettftext_common() 4102 if (key == NULL) { in php_imagettftext_common() 4105 if (strcmp("linespacing", ZSTR_VAL(key)) == 0) { in php_imagettftext_common()
|
/PHP-7.4/ext/phar/ |
H A D | phar.c | 101 char *key, *lasts, *end; in phar_split_cache_list() local 130 for (key = php_strtok_r(tmp, ds, &lasts); in phar_split_cache_list() 131 key; in phar_split_cache_list() 132 key = php_strtok_r(NULL, ds, &lasts)) { in phar_split_cache_list() 134 end = strchr(key, DEFAULT_DIR_SEPARATOR); in phar_split_cache_list() 136 len = end - key; in phar_split_cache_list() 138 len = strlen(key); in phar_split_cache_list() 141 if (SUCCESS == phar_open_from_filename(key, len, NULL, 0, 0, &phar, NULL)) { in phar_split_cache_list()
|
H A D | phar_object.c | 1447 zval key; in phar_build() local 1454 if (Z_TYPE(key) != IS_STRING) { in phar_build() 1455 zval_ptr_dtor(&key); in phar_build() 1460 str_key_len = Z_STRLEN(key); in phar_build() 1464 zval_ptr_dtor_str(&key); in phar_build() 1575 zval key; in phar_build() local 1582 if (Z_TYPE(key) != IS_STRING) { in phar_build() 1583 zval_ptr_dtor(&key); in phar_build() 1588 str_key_len = Z_STRLEN(key); in phar_build() 1592 zval_ptr_dtor_str(&key); in phar_build() [all …]
|
/PHP-7.4/main/ |
H A D | php_variables.c | 62 zend_string *key = zend_string_init_interned(name, name_len, 0); in php_register_variable_quick() local 64 zend_hash_update_ind(ht, key, val); in php_register_variable_quick() 65 zend_string_release_ex(key, 0); in php_register_variable_quick()
|
H A D | main.c | 1577 zend_string *key; in PHP_FUNCTION() local 1585 key = zend_string_init("max_execution_time", sizeof("max_execution_time")-1, 0); in PHP_FUNCTION() 1586 …if (zend_alter_ini_entry_chars_ex(key, new_timeout_str, new_timeout_strlen, PHP_INI_USER, PHP_INI_… in PHP_FUNCTION() 1591 zend_string_release_ex(key, 0); in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 577 zend_string * key; in php_mysqlnd_auth_write() local 579 ZEND_HASH_FOREACH_STR_KEY_VAL(packet->connect_attr, key, entry_value) { in php_mysqlnd_auth_write() 580 if (key) { /* HASH_KEY_IS_STRING */ in php_mysqlnd_auth_write() 583 ca_payload_len += php_mysqlnd_net_store_length_size(ZSTR_LEN(key)); in php_mysqlnd_auth_write() 584 ca_payload_len += ZSTR_LEN(key); in php_mysqlnd_auth_write() 595 zend_string * key; in php_mysqlnd_auth_write() local 597 ZEND_HASH_FOREACH_STR_KEY_VAL(packet->connect_attr, key, entry_value) { in php_mysqlnd_auth_write() 598 if (key) { /* HASH_KEY_IS_STRING */ in php_mysqlnd_auth_write() 602 p = php_mysqlnd_net_store_length(p, ZSTR_LEN(key)); in php_mysqlnd_auth_write() 603 memcpy(p, ZSTR_VAL(key), ZSTR_LEN(key)); in php_mysqlnd_auth_write() [all …]
|
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.c | 599 zend_string *key; in pcre_get_compiled_regex_cache_ex() local 608 key = regex; in pcre_get_compiled_regex_cache_ex() 615 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 627 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 640 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 683 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 757 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 763 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 797 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 877 zend_string *str = zend_string_init(ZSTR_VAL(key), ZSTR_LEN(key), 1); in pcre_get_compiled_regex_cache_ex() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_closures.c | 425 …tion *zend_closure_get_method(zend_object **object, zend_string *method, const zval *key) /* {{{ */ in zend_closure_get_method() argument 431 return zend_std_get_method(object, method, key); in zend_closure_get_method()
|
H A D | zend_list.c | 332 ZEND_API zend_resource* zend_register_persistent_resource_ex(zend_string *key, void *rsrc_pointer, … in zend_register_persistent_resource_ex() argument 339 GC_MAKE_PERSISTENT_LOCAL(key); in zend_register_persistent_resource_ex() 341 zv = zend_hash_update(&EG(persistent_list), key, &tmp); in zend_register_persistent_resource_ex() 346 ZEND_API zend_resource* zend_register_persistent_resource(const char *key, size_t key_len, void *rs… in zend_register_persistent_resource() argument 348 zend_string *str = zend_string_init(key, key_len, 1); in zend_register_persistent_resource()
|
H A D | zend_vm_execute.h | 6584 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_CONST_HANDLER() 6589 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_CONST_HANDLER() 6594 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_CONST_HANDLER() 8724 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_TMP_HANDLER() 8729 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_TMP_HANDLER() 8734 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_TMP_HANDLER() 8864 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_VAR_HANDLER() 8869 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_VAR_HANDLER() 8874 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_VAR_HANDLER() 9650 ZVAL_COPY_VALUE(&generator->key, key); in ZEND_YIELD_SPEC_CONST_UNUSED_HANDLER() [all …]
|
H A D | zend_vm_def.h | 5017 zval key; variable 5777 if (key) { in ZEND_HASH_FOREACH_STR_KEY_VAL() 5828 zval key; variable 6500 if (!p->key) { 6533 || !p->key 7792 ZVAL_COPY_VALUE(&generator->key, key); 7797 ZVAL_COPY_VALUE(&generator->key, key); 7799 ZVAL_COPY(&generator->key, Z_REFVAL_P(key)); 7802 ZVAL_COPY_VALUE(&generator->key, key); 7804 if (Z_OPT_REFCOUNTED_P(key)) Z_ADDREF_P(key); [all …]
|
/PHP-7.4/ext/standard/ |
H A D | array.c | 159 if (s->key) { in php_array_key_compare() 160 return zendi_smart_strcmp(f->key, s->key); in php_array_key_compare() 188 if (f->key == NULL && s->key == NULL) { in php_array_key_compare_numeric() 222 if (f->key) { in php_array_key_compare_string_case() 229 if (s->key) { in php_array_key_compare_string_case() 255 if (f->key) { in php_array_key_compare_string() 262 if (s->key) { in php_array_key_compare_string() 288 if (f->key) { in php_array_key_compare_string_natural_general() 295 if (s->key) { in php_array_key_compare_string_natural_general() 338 if (f->key) { in php_array_key_compare_string_locale() [all …]
|
H A D | filestat.c | 1125 if (ZEND_LONG_MAX >= bucket->key) { in PHP_FUNCTION() 1126 add_assoc_long_ex(&entry, "key", sizeof("key") - 1, bucket->key); in PHP_FUNCTION() 1128 add_assoc_double_ex(&entry, "key", sizeof("key") - 1, (double)bucket->key); in PHP_FUNCTION()
|
/PHP-7.4/ext/dba/tests/ |
H A D | dba_tcadb.phpt | 30 "key number 6" written 31 Failed to write "key number 6" 2nd time 35 ["key number 6"]=> 47 "key number 6" written 48 Failed to write "key number 6" 2nd time 52 ["key number 6"]=>
|
/PHP-7.4/ext/dba/ |
H A D | dba_tcadb.c | 94 value = tcadbget(dba->tcadb, key, keylen, &value_size); in DBA_FETCH_FUNC() 113 if (tcadbvsiz(dba->tcadb, key, keylen) > -1) { in DBA_UPDATE_FUNC() 118 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC() 124 php_error_docref2(NULL, key, val, E_WARNING, "Error updating data"); in DBA_UPDATE_FUNC() 134 value = tcadbget(dba->tcadb, key, keylen, &value_len); in DBA_EXISTS_FUNC() 147 return tcadbout(dba->tcadb, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
|
/PHP-7.4/ext/intl/locale/ |
H A D | locale_methods.c | 107 static int16_t findOffset(const char* const* list, const char* key) in findOffset() argument 111 if (strcmp(key, *list) == 0) { in findOffset()
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 3264 zend_string *key; in php_mb_convert_encoding_recursive() local 3282 if (key) { in php_mb_convert_encoding_recursive() 3283 …ckey = php_mb_convert_encoding(ZSTR_VAL(key), ZSTR_LEN(key), _to_encoding, _from_encodings, &ckey_… in php_mb_convert_encoding_recursive() 3316 if (key) { in php_mb_convert_encoding_recursive() 3317 zend_string_release(key); in php_mb_convert_encoding_recursive() 3322 if (key) { in php_mb_convert_encoding_recursive() 3323 zend_hash_add(output, key, &entry_tmp); in php_mb_convert_encoding_recursive() 3324 zend_string_release(key); in php_mb_convert_encoding_recursive() 4881 zend_string *key; in php_mb_check_encoding_recursive() local 4909 if (key) { in php_mb_check_encoding_recursive() [all …]
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 1979 static void date_period_it_current_key(zend_object_iterator *iter, zval *key) in date_period_it_current_key() argument 1982 ZVAL_LONG(key, iterator->current_index); in date_period_it_current_key()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 1008 zend_string *key; in php_zip_get_properties() local 1017 ZEND_HASH_FOREACH_STR_KEY_PTR(obj->prop_handler, key, hnd) { in php_zip_get_properties() 1023 zend_hash_update(props, key, ret); in php_zip_get_properties()
|
/PHP-7.4/ext/spl/ |
H A D | spl_fixedarray.c | 881 static void spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_fixedarray_it_get_current_key() argument 886 zend_user_it_get_current_key(iter, key); in spl_fixedarray_it_get_current_key() 888 ZVAL_LONG(key, object->current); in spl_fixedarray_it_get_current_key() 908 SPL_METHOD(SplFixedArray, key) in SPL_METHOD() argument 1058 SPL_ME(SplFixedArray, key, arginfo_splfixedarray_void, ZEND_ACC_PUBLIC)
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.c | 401 static shm_pair *shm_get(key_t key, void *addr) in shm_get() argument 410 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get() 618 TSRM_API int shmget(key_t key, size_t size, int flags) in shmget() argument 625 if (key != IPC_PRIVATE) { in shmget() 667 shm = shm_get(key, NULL); in shmget() 678 shm->descriptor->shm_perm.key = key; in shmget() 691 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget() 700 return key; in shmget() 705 shm_pair *shm = shm_get(key, NULL); in shmat() 749 shm_pair *shm = shm_get(key, NULL); in shmctl() [all …]
|
/PHP-7.4/ext/sysvmsg/ |
H A D | sysvmsg.c | 46 key_t key; member 67 ZEND_ARG_INFO(0, key) 105 ZEND_ARG_INFO(0, key) 255 zend_long key; in PHP_FUNCTION() local 257 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &key) == FAILURE) { in PHP_FUNCTION() 261 if (msgget(key, 0) < 0) { in PHP_FUNCTION() 273 zend_long key; in PHP_FUNCTION() local 277 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION() 283 mq->key = key; in PHP_FUNCTION() 284 mq->id = msgget(key, 0); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 636 static zval *add_assoc_object(zval *arg, char *key, zval *tmp) in add_assoc_object() argument 645 return zend_hash_str_update(symtable, key, strlen(key), tmp); in add_assoc_object() 3580 zend_string *key; in PHP_FUNCTION() local 3722 if (key == NULL) continue; in PHP_FUNCTION() 3725 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION() 3762 if (key == NULL) continue; in PHP_FUNCTION() 3765 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION() 3844 if (key == NULL) continue; in PHP_FUNCTION() 3847 disp_param->attribute = cpystr(ZSTR_VAL(key)); in PHP_FUNCTION() 3884 if (key == NULL) continue; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 598 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 628 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 641 q->key = new_interned_string(q->key); in accel_copy_permanent_strings() 670 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 690 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 696 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 704 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 720 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 727 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() 734 p->key = new_interned_string(p->key); in accel_copy_permanent_strings() [all …]
|