/PHP-7.1/Zend/ |
H A D | zend_variables.c | 83 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue)); in _zval_internal_dtor() 84 zend_string_release(Z_STR_P(zvalue)); in _zval_internal_dtor() 114 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue)); in _zval_internal_dtor_for_ptr() 115 zend_string_free(Z_STR_P(zvalue)); in _zval_internal_dtor_for_ptr() 171 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue)); in _zval_copy_ctor_func() 172 ZVAL_NEW_STR(zvalue, zend_string_dup(Z_STR_P(zvalue), 0)); in _zval_copy_ctor_func() 174 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue)); in _zval_copy_ctor_func() 175 Z_STR_P(zvalue) = zend_string_dup(Z_STR_P(zvalue), 0); in _zval_copy_ctor_func()
|
H A D | zend_ini_parser.y | 64 zend_string_free(Z_STR_P(op1)); in zend_ini_do_op() 71 zend_string_free(Z_STR_P(op2)); in zend_ini_do_op() 138 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string() 151 && (c = zend_get_constant(Z_STR_P(name))) != 0) { in zend_ini_get_constant() 164 zend_string_free(Z_STR_P(name)); in zend_ini_get_constant() 179 if ((curval = zend_get_configuration_directive(Z_STR_P(name))) != NULL) { in zend_ini_get_var()
|
H A D | zend_operators.c | 150 str = Z_STR_P(op); in _convert_scalar_to_number() 328 zend_string *str = Z_STR_P(op); in convert_to_long_base() 391 zend_string *str = Z_STR_P(op); in convert_to_double() 471 zend_string *str = Z_STR_P(op); in convert_to_boolean() 1811 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function() 1832 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function() 1949 if (Z_STR_P(op1) == Z_STR_P(op2)) { in compare_function() 1953 ZVAL_LONG(result, zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2))); in compare_function() 2121 return (Z_STR_P(op1) == Z_STR_P(op2) || in zend_is_identical() 2269 zend_string_release(Z_STR_P(str)); in increment_string() [all …]
|
H A D | zend_object_handlers.c | 533 zend_string *str = Z_STR_P(zv); in zend_get_property_guard() 541 zend_string_release(Z_STR_P(zv)); in zend_get_property_guard() 550 zend_string_release(Z_STR_P(zv)); in zend_get_property_guard() 605 retval = zend_hash_find(zobj->properties, Z_STR_P(member)); in zend_std_read_property() 618 guard = zend_get_property_guard(zobj, Z_STR_P(member)); in zend_std_read_property() 646 guard = zend_get_property_guard(zobj, Z_STR_P(member)); in zend_std_read_property() 738 uint32_t *guard = zend_get_property_guard(zobj, Z_STR_P(member)); in zend_std_write_property() 777 zend_hash_add_new(zobj->properties, Z_STR_P(member), value); in zend_std_write_property() 903 name = Z_STR_P(member); in zend_std_get_property_ptr_ptr() 1197 lc_method_name = Z_STR_P(key); in zend_std_get_method() [all …]
|
H A D | zend_operators.h | 276 return Z_TYPE_P(op) == IS_STRING ? zend_string_copy(Z_STR_P(op)) : _zval_get_string_func(op); in _zval_get_string() 701 if (Z_STR_P(op1) == Z_STR_P(op2)) { in fast_equal_check_function() 710 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)) == 0; in fast_equal_check_function() 732 if (Z_STR_P(op1) == Z_STR_P(op2)) { in fast_equal_check_string() 741 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)) == 0; in fast_equal_check_string()
|
H A D | zend_vm_execute.h | 4521 if (Z_STR_P(op1) == Z_STR_P(op2)) { 4589 if (Z_STR_P(op1) == Z_STR_P(op2)) { 5721 if (Z_STR_P(op1) == Z_STR_P(op2)) { 8606 if (Z_STR_P(op1) == Z_STR_P(op2)) { 8674 if (Z_STR_P(op1) == Z_STR_P(op2)) { 9713 if (Z_STR_P(op1) == Z_STR_P(op2)) { 10582 if (Z_STR_P(op1) == Z_STR_P(op2)) { 10650 if (Z_STR_P(op1) == Z_STR_P(op2)) { 11638 if (Z_STR_P(op1) == Z_STR_P(op2)) { 36618 if (Z_STR_P(op1) == Z_STR_P(op2)) { [all …]
|
H A D | zend_vm_def.h | 409 if (Z_STR_P(op1) == Z_STR_P(op2)) { 418 result = (zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)) == 0); 477 if (Z_STR_P(op1) == Z_STR_P(op2)) { 486 result = (zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)) != 0); 1520 name = Z_STR_P(varname); 1522 name = Z_STR_P(varname); 1680 name = Z_STR_P(varname); 2899 op1_str = Z_STR_P(op1); 2910 op2_str = Z_STR_P(op2); 4922 if (Z_STR_P(op1) == Z_STR_P(op2)) { [all …]
|
H A D | zend_constants.c | 446 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { in zend_quick_get_constant() 448 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || in zend_quick_get_constant() 452 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { in zend_quick_get_constant() 454 if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || in zend_quick_get_constant()
|
H A D | zend_types.h | 520 #define Z_STR_P(zval_p) Z_STR(*(zval_p)) macro 630 Z_STR_P(__z) = __s; \ 640 Z_STR_P(__z) = __s; \ 647 Z_STR_P(__z) = __s; \ 654 Z_STR_P(__z) = __s; \
|
H A D | zend_compile.c | 363 CG(compiled_filename) = Z_STR_P(p); in zend_set_compiled_filename() 364 return Z_STR_P(p); in zend_set_compiled_filename() 446 zend_string_hash_val(Z_STR_P(zv)); in zend_insert_literal() 447 Z_STR_P(zv) = zend_new_interned_string(Z_STR_P(zv)); in zend_insert_literal() 448 if (ZSTR_IS_INTERNED(Z_STR_P(zv))) { in zend_insert_literal() 1011 zend_string_release(Z_STR_P(zv)); in str_dtor() 1817 zend_string *left = Z_STR_P(left_zv); in zend_ast_append_str() 1847 Z_STR_P(zv) = zend_string_extend(Z_STR_P(zv), orig_len + 1, 0); in zend_negate_num_string() 3752 lcname = zend_string_tolower(Z_STR_P(name)); in zend_compile_call() 3856 if (zend_is_constructor(Z_STR_P(name))) { in zend_compile_static_call() [all …]
|
H A D | zend_ast.c | 202 zend_symtable_update(Z_ARRVAL_P(result), Z_STR_P(offset), expr); in zend_ast_add_array_element() 674 smart_str_append(str, Z_STR_P(zv)); in zend_ast_export_name() 692 smart_str_append(str, Z_STR_P(zv)); in zend_ast_export_ns_name() 744 smart_str_append(str, Z_STR_P(zv)); in zend_ast_export_var() 780 zend_ast_export_qstr(str, quote, Z_STR_P(zv)); in zend_ast_export_encaps_list() 938 zend_ast_export_str(str, Z_STR_P(zv)); in zend_ast_export_zval() 1244 zend_ast_export_qstr(str, '`', Z_STR_P(zv)); in zend_ast_export_ex()
|
H A D | zend_execute.c | 1341 Z_STR_P(str) = zend_string_extend(Z_STR_P(str), offset + 1, 0); in zend_assign_to_string_offset() 1346 old_str = Z_STR_P(str); in zend_assign_to_string_offset() 1347 Z_STR_P(str) = zend_string_init(Z_STRVAL_P(str), Z_STRLEN_P(str), 0); in zend_assign_to_string_offset() 1352 zend_string_forget_hash_val(Z_STR_P(str)); in zend_assign_to_string_offset() 1570 offset_key = Z_STR_P(dim); in zend_fetch_dimension_address_inner() 1977 retval = zend_hash_find(zobj->properties, Z_STR_P(prop_ptr)); in zend_fetch_property_address() 2714 …called_scope = zend_fetch_class_by_name(Z_STR_P(obj), NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_… in zend_init_dynamic_call_array() 2720 fbc = called_scope->get_static_method(called_scope, Z_STR_P(method)); in zend_init_dynamic_call_array() 2722 fbc = zend_std_get_static_method(called_scope, Z_STR_P(method), NULL); in zend_init_dynamic_call_array() 2750 fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); in zend_init_dynamic_call_array() [all …]
|
H A D | zend_API.c | 275 *pce = zend_lookup_class(Z_STR_P(arg)); in zend_parse_arg_class() 453 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak() 460 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak() 474 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak() 1636 result = zend_symtable_update(ht, Z_STR_P(key), value); in array_set_zval_key() 2935 lmname = Z_STR_P(callable); in zend_is_callable_check_func() 2940 if (lmname != Z_STR_P(callable)) { in zend_is_callable_check_func() 2946 if (lmname == Z_STR_P(callable)) { in zend_is_callable_check_func() 2958 if (lmname != Z_STR_P(callable)) { in zend_is_callable_check_func() 3002 mname = Z_STR_P(callable); in zend_is_callable_check_func() [all …]
|
H A D | zend_ast.h | 231 return Z_STR_P(zv); in zend_ast_get_str()
|
H A D | zend_objects.c | 74 zend_string_release(Z_STR_P(p)); in zend_object_std_dtor()
|
H A D | zend_execute_API.c | 582 zend_string_release(Z_STR_P(p)); in zval_update_constant_ex() 589 …} else if (UNEXPECTED((const_value = zend_get_constant_ex(Z_STR_P(p), scope, Z_CONST_FLAGS_P(p))) … in zval_update_constant_ex() 603 zend_string *save = Z_STR_P(p); in zval_update_constant_ex() 633 zend_string_release(Z_STR_P(p)); in zval_update_constant_ex() 940 lc_name = Z_STR_P(key); in zend_lookup_class_ex()
|
/PHP-7.1/main/ |
H A D | php_ini.c | 199 zend_string_release(Z_STR_P(zvalue)); in config_zval_dtor() 241 entry = zend_hash_update(active_hash, Z_STR_P(arg1), arg2); in php_ini_parser_cb() 242 Z_STR_P(entry) = zend_string_dup(Z_STR_P(entry), 1); in php_ini_parser_cb() 259 …if ((find_arr = zend_hash_find(active_hash, Z_STR_P(arg1))) == NULL || Z_TYPE_P(find_arr) != IS_AR… in php_ini_parser_cb() 262 find_arr = zend_hash_update(active_hash, Z_STR_P(arg1), &option_arr); in php_ini_parser_cb() 267 entry = zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STR_P(arg3), arg2); in php_ini_parser_cb() 271 Z_STR_P(entry) = zend_string_dup(Z_STR_P(entry), 1); in php_ini_parser_cb() 789 zend_alter_ini_entry_ex(str, Z_STR_P(data), modify_type, stage, 0); in php_ini_activate_config()
|
/PHP-7.1/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 53 zend_hash_add(ctx->constants, Z_STR_P(name), &val); in zend_optimizer_collect_constant() 60 if ((val = zend_hash_find(constants, Z_STR_P(name))) != NULL) { in zend_optimizer_get_collected_constant() 182 zend_optimizer_add_literal_string(op_array, zend_string_tolower(Z_STR_P(val))); in zend_optimizer_update_op1_const() 256 zend_optimizer_add_literal_string(op_array, zend_string_tolower(Z_STR_P(val))); in zend_optimizer_update_op2_const() 272 if (zend_optimizer_classify_function(Z_STR_P(val), opline->extended_value)) { in zend_optimizer_update_op2_const() 347 if (ZEND_HANDLE_NUMERIC(Z_STR_P(val), index)) { in zend_optimizer_update_op2_const() 570 zend_string *class_name = Z_STR_P(op1 + 1); in get_class_entry_from_op1() 599 zend_string *function_name = Z_STR_P(GET_OP(op2)); in zend_optimizer_get_called_func() 637 zend_string *func_name = Z_STR_P(GET_OP(op2) + 1); in zend_optimizer_get_called_func() 646 zend_string *method_name = Z_STR_P(GET_OP(op2) + 1); in zend_optimizer_get_called_func() [all …]
|
/PHP-7.1/ext/spl/ |
H A D | spl_engine.c | 48 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) { in spl_offset_convert_to_long()
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_wait.c | 229 zend_hash_del(&module_registry, Z_STR_P(module)); in phpdbg_webdata_decompress() 307 …if (!original_ini->on_modify || original_ini->on_modify(original_ini, Z_STR_P(ini_entry), original… in phpdbg_webdata_decompress() 311 original_ini->value = Z_STR_P(ini_entry); in phpdbg_webdata_decompress() 325 zend_alter_ini_entry_ex(key, Z_STR_P(ini_entry), ZEND_INI_PERDIR, ZEND_INI_STAGE_HTACCESS, 1); in phpdbg_webdata_decompress()
|
/PHP-7.1/ext/standard/ |
H A D | incomplete_class.c | 144 return zend_string_copy(Z_STR_P(val)); in php_lookup_class_name()
|
H A D | browscap.c | 331 new_value = browscap_intern_str(ctx, Z_STR_P(arg2)); in php_browscap_parser_cb() 350 new_key = browscap_intern_str_ci(ctx, Z_STR_P(arg1), persistent); in php_browscap_parser_cb() 359 zend_string *pattern = Z_STR_P(arg1); in php_browscap_parser_cb() 706 agent_name = Z_STR_P(http_user_agent); in PHP_FUNCTION()
|
/PHP-7.1/ext/opcache/ |
H A D | zend_persist_calc.c | 130 ADD_INTERNED_STRING(Z_STR_P(z), 0); in zend_persist_zval_calc() 131 if (ZSTR_IS_INTERNED(Z_STR_P(z))) { in zend_persist_zval_calc()
|
/PHP-7.1/ext/wddx/ |
H A D | wddx.c | 497 if ((ent = zend_hash_find(objhash, Z_STR_P(varname))) != NULL) { in php_wddx_serialize_object() 498 php_wddx_serialize_var(packet, ent, Z_STR_P(varname)); in php_wddx_serialize_object() 683 if ((val = zend_hash_find(symbol_table, Z_STR_P(name_var))) != NULL) { in php_wddx_add_var() 687 php_wddx_serialize_var(packet, val, Z_STR_P(name_var)); in php_wddx_add_var() 1312 payload = Z_STR_P(packet); in PHP_FUNCTION()
|
/PHP-7.1/ext/soap/ |
H A D | soap.c | 1388 add_next_index_str(return_value, zend_string_copy(Z_STR_P(name))); in PHP_METHOD() 2330 add_property_str(this_ptr, "uri", zend_string_copy(Z_STR_P(tmp))); 2358 add_property_str(this_ptr, "location", zend_string_copy(Z_STR_P(tmp))); 2371 add_property_str(this_ptr, "_login", zend_string_copy(Z_STR_P(tmp))); 2374 add_property_str(this_ptr, "_password", zend_string_copy(Z_STR_P(tmp))); 2442 add_property_str(this_ptr, "_encoding", zend_string_copy(Z_STR_P(tmp))); 3016 RETURN_STR_COPY(Z_STR_P(tmp)); 3035 RETURN_STR_COPY(Z_STR_P(tmp)); 3054 RETURN_STR_COPY(Z_STR_P(tmp)); 3073 RETURN_STR_COPY(Z_STR_P(tmp)); [all …]
|