/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_038.phpt | 12 } catch(TypeError $t) { 13 var_dump($t->getMessage()); 20 } catch(TypeError $t) { 21 var_dump($t->getMessage()); 28 } catch(TypeError $t) { 29 var_dump($t->getMessage()); 36 } catch(TypeError $t) { 37 var_dump($t->getMessage());
|
H A D | typed_properties_075.phpt | 14 } catch(TypeError $t) { 15 var_dump($t->getMessage()); 22 } catch(TypeError $t) { 23 var_dump($t->getMessage()); 30 } catch(TypeError $t) { 31 var_dump($t->getMessage()); 38 } catch(TypeError $t) { 39 var_dump($t->getMessage());
|
H A D | typed_properties_078.phpt | 9 public ?Traversable $t; 18 $a->t = &$ref; 34 $a->t = &$ref; 48 string(72) "Cannot assign array to property class@anonymous::$t of type ?Traversable" 57 string(90) "Cannot assign array to reference held by property class@anonymous::$t of type ?Traversa…
|
H A D | typed_properties_086.phpt | 13 $t = new T; 16 $t->$x = 2; 17 $t->$x--; 19 var_dump($t);
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | class_order_error.phpt | 2 Returns are covariant, but we don't allow the code due to class ordering
|
H A D | enum_forward_compat.phpt | 2 Forward compatibility with types that look like classes but aren't
|
H A D | loading_exception1.phpt | 32 // Fallback to fatal error, as we can't unlink class B anymore.
|
H A D | loading_exception2.phpt | 34 // Fallback to fatal error, as we can't unlink class B anymore.
|
/php-src/Zend/tests/ |
H A D | unreachable_phi_cycle.phpt | 5 // The inner loop is dead, but SCCP reachability analysis doesn't realize this,
|
H A D | xor_003.phpt | 6 $t = true; 9 var_dump($t ^ $f); 10 var_dump($t ^ $t);
|
/php-src/Zend/tests/varSyntax/ |
H A D | constant_object_deref.phpt | 2 Constants can be dereferenced as objects (even though they can't be objects)
|
H A D | magic_const_deref.phpt | 20 string(1) "t"
|
/php-src/Zend/ |
H A D | zend_execute.c | 2538 uint8_t t; in zend_fetch_dimension_address_inner() local 2541 t = slow_index_convert(ht, dim, &val EXECUTE_DATA_CC); in zend_fetch_dimension_address_inner() 2543 t = slow_index_convert_w(ht, dim, &val EXECUTE_DATA_CC); in zend_fetch_dimension_address_inner() 2545 if (t == IS_STRING) { in zend_fetch_dimension_address_inner() 2548 } else if (t == IS_LONG) { in zend_fetch_dimension_address_inner()
|
H A D | zend_hash.c | 200 int32x4_t t = vdupq_n_s32(-1); in zend_hash_real_init_mixed_ex() local 2543 zval *t, *s; in zend_hash_merge() local 2558 pCopyConstructor(t); in zend_hash_merge() 2576 pCopyConstructor(t); in zend_hash_merge() 2581 pCopyConstructor(t); in zend_hash_merge() 2593 if (t && pCopyConstructor) { in zend_hash_merge() 2594 pCopyConstructor(t); in zend_hash_merge() 2612 pCopyConstructor(t); in zend_hash_merge() 2617 pCopyConstructor(t); in zend_hash_merge() 2639 zval *t; in zend_hash_merge_ex() local [all …]
|
H A D | zend_hrtime.h | 96 timebasestruct_t t; in zend_hrtime() 97 read_wall_time(&t, TIMEBASE_SZ); in zend_hrtime() 98 time_base_to_time(&t, TIMEBASE_SZ); in zend_hrtime() 99 return (zend_hrtime_t) t.tb_high * (zend_hrtime_t)NANO_IN_SEC + t.tb_low; in zend_hrtime()
|
H A D | zend_ini_scanner.l | 284 char *s, *t; in zend_ini_escape_string() local 290 s = t = Z_STRVAL_P(lval); in zend_ini_escape_string() 297 *t++ = '\\'; in zend_ini_escape_string() 303 *t++ = '\\'; in zend_ini_escape_string() 304 *t++ = *s; in zend_ini_escape_string() 310 *t++ = *s; in zend_ini_escape_string() 314 *t++ = '\\'; in zend_ini_escape_string() 315 *t++ = *s; in zend_ini_escape_string() 319 *t++ = *s; in zend_ini_escape_string() 326 *t = 0; in zend_ini_escape_string()
|
H A D | zend_language_scanner.l | 916 char *s, *t; in zend_scan_escape_string() local 950 t = s; in zend_scan_escape_string() 955 *t++ = '\\'; in zend_scan_escape_string() 992 *t++ = *s; in zend_scan_escape_string() 1113 *t++ = *s; in zend_scan_escape_string() 1121 *t = 0; in zend_scan_escape_string() 2516 t = s; 2521 *t++ = *s; 2524 *t++ = *s; 2527 *t++ = *s; [all …]
|
H A D | zend_llist.c | 190 zend_llist_element *t; in zend_llist_swap() local 191 t = *p; in zend_llist_swap() 193 *q = t; in zend_llist_swap()
|
H A D | zend_operators.c | 2528 zend_string *t; in increment_string() local 2607 t = zend_string_alloc(Z_STRLEN_P(str)+1, 0); in increment_string() 2608 memcpy(ZSTR_VAL(t) + 1, Z_STRVAL_P(str), Z_STRLEN_P(str)); in increment_string() 2609 ZSTR_VAL(t)[Z_STRLEN_P(str) + 1] = '\0'; in increment_string() local 2612 ZSTR_VAL(t)[0] = '1'; in increment_string() local 2615 ZSTR_VAL(t)[0] = 'A'; in increment_string() local 2618 ZSTR_VAL(t)[0] = 'a'; in increment_string() local 2622 ZVAL_NEW_STR(str, t); in increment_string()
|
H A D | zend_strtod.c | 1586 (sp, t) char **sp, *t; in match() 1588 (const char **sp, const char *t) 1594 while((d = *t++)) { 3635 char *rv, *t; local 3637 t = rv = rv_alloc(n); 3638 while((*t = *s++)) t++; 3640 *rve = t;
|
H A D | zend_type_info.h | 68 #define MAY_BE_PACKED(t) ((t) & MAY_BE_ARRAY_PACKED) argument 69 #define MAY_BE_HASH(t) ((t) & (MAY_BE_ARRAY_NUMERIC_HASH | MAY_BE_ARRAY_KEY_STRING)) argument 70 #define MAY_BE_PACKED_ONLY(t) (((t) & MAY_BE_ARRAY_KEY_ANY) == MAY_BE_ARRAY_PACKED) argument 71 #define MAY_BE_HASH_ONLY(t) (MAY_BE_HASH(t) && !((t) & (MAY_BE_ARRAY_PACKED|MAY_BE_ARRAY_EM… argument 72 #define MAY_BE_EMPTY_ONLY(t) (((t) & MAY_BE_ARRAY_KEY_ANY) == MAY_BE_ARRAY_EMPTY) argument
|
H A D | zend_types.h | 196 (ZEND_TYPE_IS_SET(t) && (t).ptr == NULL) 198 #define ZEND_TYPE_NAME(t) \ argument 199 ((zend_string *) (t).ptr) 202 ((const char *) (t).ptr) 204 #define ZEND_TYPE_LIST(t) \ argument 241 ((t).ptr = (_ptr)) 244 (t).ptr = (_ptr); \ 255 ((t).type_mask) 641 #define ZEND_GUARD_RECURSION_TYPE(t) ZEND_GUARD_RECURSION_ ## t argument 644 #define ZEND_GUARD_PROTECT_RECURSION(pg, t) *pg |= ZEND_GUARD_RECURSION_TYPE(t) argument [all …]
|
H A D | zend_virtual_cwd.c | 428 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add() 444 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find() 468 return realpath_cache_find(path, path_len, t); in realpath_cache_lookup() 540 j = tsrm_realpath_r(path, start, i-1, ll, t, use_realpath, 1, NULL); in tsrm_realpath_r() 581 if (!*t) { in tsrm_realpath_r() 582 *t = time(0); in tsrm_realpath_r() 584 if ((bucket = realpath_cache_find(path, len, *t)) != NULL) { in tsrm_realpath_r() 852 j = tsrm_realpath_r(path, 0, j, ll, t, 0, is_dir, &directory); in tsrm_realpath_r() 994 realpath_cache_add(tmp, len, path, j, directory, *t); in tsrm_realpath_r() 1015 time_t t; in virtual_file_ex() local [all …]
|
H A D | zend_virtual_cwd.h | 252 CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, size_t path_len, time_t t);
|
H A D | zend_vm_execute.skl | 36 zend_error_noreturn(E_CORE_ERROR, "Arrived at end of main loop which shouldn't happen");
|