/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_068.phpt | 16 Foo::$i = &ref(5); 19 $i = &Foo::$i; 20 $i = 2; 21 var_dump($i, Foo::$i); 23 $i = "3"; 24 var_dump($i, Foo::$i); 26 Foo::$i = "4"; 27 var_dump($i, Foo::$i); 30 $i = null; 32 var_dump($i, Foo::$i); [all …]
|
H A D | typed_properties_069.phpt | 12 public static int $i; 16 Foo::$i = &nonNumericStringRef(); 19 var_dump(Foo::$i); 25 Cannot assign string to property Foo::$i of type int 26 Typed static property Foo::$i must not be accessed before initialization
|
H A D | typed_properties_070.phpt | 13 public static int $i = 0; 27 Foo::$i += stringRef(); 28 var_dump(Foo::$i); 31 Foo::$i += PHP_INT_MAX; 33 var_dump(Foo::$i); 36 Foo::$i .= PHP_INT_MAX; 38 var_dump(Foo::$i); 46 Cannot assign float to property Foo::$i of type int 48 Cannot assign string to property Foo::$i of type int
|
H A D | typed_properties_077.phpt | 7 public int $i; 12 var_dump($test->i = "42");
|
H A D | typed_properties_083.phpt | 8 public ?iterable $i; 15 $a->i[] = 1; 16 var_dump($a->i);
|
H A D | typed_properties_086.phpt | 10 public int $i; 24 ["i"]=>
|
H A D | typed_properties_108.phpt | 7 public int $i = 42; 13 $ref =& $test->i; 21 var_dump($test->i); 40 TypeError: Cannot assign Exception to reference held by property Test::$i of type int in %s:%d
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | loading_exception1.phpt | 11 for ($i = 0; $i < 2; $i++) {
|
H A D | loading_exception2.phpt | 13 for ($i = 0; $i < 2; $i++) {
|
/php-src/Zend/tests/typehints/ |
H A D | namespace_relative_scalar.phpt | 6 function test(namespace\int $i) {}
|
/php-src/Zend/tests/ |
H A D | unreachable_phi_cycle.phpt | 8 for (; $i--;) { 15 Warning: Undefined variable $i in %s on line %d
|
/php-src/Zend/tests/varSyntax/ |
H A D | indirectFcall.phpt | 36 ('i' . 'd')()('var_dump')(13);
|
/php-src/Zend/tests/variadic/ |
H A D | by_ref.phpt | 7 $i = 0; 9 $arg = $i++;
|
/php-src/Zend/tests/weakrefs/ |
H A D | weakrefs_006.phpt | 10 for ($i = 0; $i < 10; $i++) { 13 $w[$v] = $i;
|
/php-src/Zend/ |
H A D | zend.c | 175 if (i >= 0 && i <= 1000000) { in ZEND_INI_MH() 375 int i; in print_hash() local 377 for (i = 0; i < indent; i++) { in print_hash() 383 for (i = 0; i < indent; i++) { in print_hash() 414 for (i = 0; i < indent; i++) { in print_hash() 426 int i = 0; in print_flat_hash() local 429 if (i++ > 0) { in print_flat_hash() 1714 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_emit_recorded_errors() local 1726 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_free_recorded_errors() local 1922 int i; in zend_execute_scripts() local [all …]
|
H A D | zend_API.c | 1237 i = 0; in zend_parse_va_args() 1273 i++; in zend_parse_va_args() 1608 for (uint32_t i = 0; i < class_type->default_properties_count; i++) { in zend_update_class_constants() local 2604 for (uint32_t i = 0; i < num_args; i++) { in zend_check_magic_method_args() local 3022 for (i = 0; i < num_args; i++) { in zend_register_functions() 3053 for (i = 0; i < num_args; i++) { in zend_register_functions() 3163 i++; in zend_unregister_functions() 4317 for (uint32_t i = 0; i < argc; ++i) { in zend_fcall_info_argp() local 4318 ZVAL_COPY(&fci->params[i], &argv[i]); in zend_fcall_info_argp() 4333 for (uint32_t i = 0; i < argc; ++i) { in zend_fcall_info_argv() local [all …]
|
H A D | zend_alloc.c | 903 int i = 0; 945 uint32_t i = 0; local 968 if (i >= free_tail || i == ZEND_MM_PAGES) { 1272 uint32_t i = 1; local 1275 chunk->map[page_num+i] = ZEND_MM_NRUN(bin_num, i); 1276 i++; 1974 for (i = 0; i < ZEND_MM_BINS; i++) { 2055 i++; 2125 i++; 2162 uint32_t i, j; local [all …]
|
H A D | zend_ast.c | 351 for (i = 0; i < children; ++i) { in zend_ast_create_from_va_list() 405 for (i = 0; i < init_children; ++i) { in zend_ast_create_list() 1041 for (i = 0; i < list->children; i++) { in zend_ast_tree_size() 1050 for (i = 0; i < children; i++) { in zend_ast_tree_size() 1084 for (i = 0; i < list->children; i++) { in zend_ast_tree_copy() 1099 for (i = 0; i < children; i++) { in zend_ast_tree_copy() 1135 for (i = 1; i < children; i++) { in zend_ast_destroy() 1188 for (i = 0; i < children; ++i) { in zend_ast_apply() 1236 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_str() 1251 for (i = 0; i < ZSTR_LEN(s); i++) { in zend_ast_export_qstr() [all …]
|
H A D | zend_attributes.c | 201 if (i >= attr->argc) { in zend_get_attribute_value() 287 uint32_t i; in attribute_ctor_cleanup() local 289 for (i = 0; i < argc; i++) { in attribute_ctor_cleanup() 290 zval_ptr_dtor(&args[i]); in attribute_ctor_cleanup() 314 for (uint32_t i = 0; i < attribute_data->argc; i++) { in zend_get_attribute_object() local 361 for (uint32_t i = 0; i < (sizeof(target_names) / sizeof(char *)); i++) { in zend_get_attribute_target_names() local 362 if (flags & (1 << i)) { in zend_get_attribute_target_names() 397 for (uint32_t i = 0; i < attr->argc; i++) { in attr_free() local 398 if (attr->args[i].name) { in attr_free() 434 for (uint32_t i = 0; i < argc; i++) { in zend_add_attribute() local [all …]
|
H A D | zend_attributes.h | 76 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla…
|
H A D | zend_bitset.h | 155 for (i = 0; i < len; i++) { 182 for (i = 0; i < len; i++) { 191 for (i = 0; i < len; i++) { 200 for (i = 0; i < len; i++) { 201 set1[i] = set1[i] & ~set2[i]; 209 for (i = 0; i < len; i++) { 210 set1[i] = set2[i] | (set3[i] & set4[i]); 218 for (i = 0; i < len; i++) { 219 set1[i] = set2[i] | (set3[i] & ~set4[i]); 227 for (i = 0; i < len; i++) { [all …]
|
H A D | zend_builtin_functions.c | 235 uint32_t i; in ZEND_FUNCTION() local 256 i = 0; in ZEND_FUNCTION() 272 i++; in ZEND_FUNCTION() 289 i++; in ZEND_FUNCTION() 1557 int i = 1; in ZEND_FUNCTION() local 1565 i++; in ZEND_FUNCTION() 1638 i in debug_backtrace_get_args() 1661 i++; in debug_backtrace_get_args() 1670 i in debug_backtrace_get_args() 1694 i++; in debug_backtrace_get_args() [all …]
|
H A D | zend_closures.c | 650 uint32_t i, num_args, required = closure->func.common.required_num_args; in zend_closure_get_debug_info() local 658 for (i = 0; i < num_args; i++) { in zend_closure_get_debug_info() 671 ZVAL_NEW_STR(&info, zend_strpprintf(0, "%s", i >= required ? "<optional>" : "<required>")); in zend_closure_get_debug_info()
|
H A D | zend_compile.c | 2416 for (i = offset; i < count; ++i) { in zend_delayed_compile_end() 3218 for (i = 0; i < list->children; ++i) { in zend_propagate_list_refs() 3257 for (i = 0; i < list->children; ++i) { in zend_compile_list_assign() 3682 for (i = 0; i < args->children; ++i) { in zend_compile_args() 3988 for (i = 0; i < args->children; ++i) { in zend_args_contain_unpack_or_named() 4279 for (i = 1; i < args->children; ++i) { in zend_compile_func_cuf() 5672 for (i = 0; i < list->children; ++i) { in zend_compile_expr_list() 5817 for (i = 0; i < list->children; ++i) { in zend_compile_if() 7526 for (i = 0; i < children; i++) { in find_implicit_binds_recursively() 7969 for (i = 0; i < children; ++i) { in zend_compile_prop_decl() [all …]
|
H A D | zend_enum.c | 103 for (uint32_t i = 0; i < forbidden_methods_length; ++i) { in zend_verify_enum_magic_methods() local 104 const char *forbidden_method = forbidden_methods[i]; in zend_verify_enum_magic_methods()
|