Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 518) sorted by path

12345678910>>...21

/php-src/.github/workflows/
H A Dnightly.yml511 … php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
/php-src/
H A DNEWS89 - ValueError if the integer index does not fit in a signed 32 bit integer
H A DUPGRADING23 . The builtin server looks for an index file recursively by traversing parent
27 returned. The behavior has been changed to look for an index file in all
52 - ValueError if the integer index does not fit in a signed 32 bit integer
/php-src/Zend/Optimizer/
H A Dsccp.c397 zend_long index; in ct_eval_fetch_dim() local
398 if (zval_to_string_offset(&index, op2) == FAILURE) { in ct_eval_fetch_dim()
401 if (index >= 0 && index < Z_STRLEN_P(op1)) { in ct_eval_fetch_dim()
562 zend_long index; in ct_eval_assign_dim()
565 || zval_to_string_offset(&index, key) == FAILURE || index < 0) { in ct_eval_assign_dim()
569 if (index >= Z_STRLEN_P(result)) { in ct_eval_assign_dim()
570 new_str = zend_string_alloc(index + 1, 0); in ct_eval_assign_dim()
573 ZSTR_VAL(new_str)[index + 1] = 0; in ct_eval_assign_dim()
1953 zend_ulong index; in join_hash_tables() local
1957 ZEND_HASH_FOREACH_KEY_VAL(ht1, index, key, val1) { in join_hash_tables()
[all …]
H A Dzend_dump.c30 zend_ulong index; in zend_dump_ht() local
35 ZEND_HASH_FOREACH_KEY_VAL(ht, index, key, val) { in zend_dump_ht()
44 fprintf(stderr, ZEND_LONG_FMT, index); in zend_dump_ht()
H A Dzend_inference.c185 ssa->vars[var].scc = *index;
186 (*index)++;
208 (*index)--;
212 (*index)--;
221 int index = 0;
232 zend_ssa_check_scc_var(op_array, ssa, j, &index, &stack);
395 ssa->vars[var].scc = *index; in zend_ssa_check_scc_var()
396 (*index)++; in zend_ssa_check_scc_var()
432 (*index)--; in zend_ssa_check_scc_var()
435 (*index)--; in zend_ssa_check_scc_var()
[all …]
H A Dzend_optimizer.c575 zend_ulong index; in zend_optimizer_update_op2_const() local
577 if (ZEND_HANDLE_NUMERIC(Z_STR_P(val), index)) { in zend_optimizer_update_op2_const()
578 ZVAL_LONG(&tmp, index); in zend_optimizer_update_op2_const()
591 zend_ulong index; in zend_optimizer_update_op2_const() local
592 if (ZEND_HANDLE_NUMERIC(Z_STR_P(val), index)) { in zend_optimizer_update_op2_const()
594 ZVAL_LONG(val, index); in zend_optimizer_update_op2_const()
/php-src/Zend/tests/
H A Darray_offset_002.phpt2 Capturing array in user error handler during index conversion
H A Dbug26696.phpt2 Bug #26696 (crash in switch() when string index is used)
H A Dbug47836.phpt2 Bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
H A Dbug53432.phpt2 Bug #53432: Assignment via string index access on an empty string converts to array
H A Dbug55509.phpt21 $index = strtolower($tmp[0]);
23 $infos[$index] = $value;
41 $index = strtolower($tmp[0]);
43 $infos[$index] = $value;
H A Dbug67169.phpt2 Bug #67169: array_splice all elements, then []= gives wrong index
H A Dbug67985.phpt2 Bug #67985 - Last used array index not copied to new array at assignment
H A Dbug70662.phpt2 Bug #70662: Duplicate array key via undefined index error handler
H A Dbug78598.phpt2 Bug #78598: Changing array during undef index RW error segfaults
H A Dbug79793.phpt2 Bug #79793: Use after free if string used in undefined index warning is changed
H A Dconstant_expressions_coalesce.phpt8 const T_1 = null ?? A[1]['undefined']['index'] ?? 1;
9 const T_2 = null ?? A['undefined']['index'] ?? 2;
22 var_dump((function(){ static $var = null ?? A[1]['undefined']['index'] ?? 1; return $var; })());
23 var_dump((function(){ static $var = null ?? A['undefined']['index'] ?? 2; return $var; })());
27 var_dump((new class { public $var = null ?? A[1]['undefined']['index'] ?? 1; })->var);
28 var_dump((new class { public $var = null ?? A['undefined']['index'] ?? 2; })->var);
H A Dgh11320_1.phpt5 $index = 1;
7 var_dump([$index => list($x, $y) = getList()]);
8 var_dump([$index => [$x, $y] = getList()]);
H A Dobject_handlers.phpt22 function offsetGet($index): mixed {
23 $GLOBALS["y"] = $index;
26 function offsetSet($index, $newval): void {
27 $GLOBALS["y"] = $index;
29 function offsetExists($index): bool {
30 $GLOBALS["y"] = $index;
33 function offsetUnset($index): void {
34 $GLOBALS["y"] = $index;
H A Dundef_index_to_exception.phpt2 Converting undefined index/offset notice to exception
/php-src/Zend/tests/in-de-crement/
H A Doverloaded_access.phpt10 function offsetGet($index): mixed {
13 function offsetSet($index, $newval): void {
15 function offsetExists($index): bool {
18 function offsetUnset($index): void {
/php-src/Zend/
H A Dzend_API.c1965 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_long()
1974 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_null()
1983 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_bool()
1992 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_resource()
2001 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_double()
2010 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_str()
2019 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_string()
2028 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_stringl()
2037 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_array()
2046 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_object()
[all …]
H A Dzend_API.h597 ZEND_API void add_index_long(zval *arg, zend_ulong index, zend_long n);
598 ZEND_API void add_index_null(zval *arg, zend_ulong index);
599 ZEND_API void add_index_bool(zval *arg, zend_ulong index, bool b);
600 ZEND_API void add_index_resource(zval *arg, zend_ulong index, zend_resource *r);
601 ZEND_API void add_index_double(zval *arg, zend_ulong index, double d);
602 ZEND_API void add_index_str(zval *arg, zend_ulong index, zend_string *str);
603 ZEND_API void add_index_string(zval *arg, zend_ulong index, const char *str);
605 ZEND_API void add_index_array(zval *arg, zend_ulong index, zend_array *arr);
606 ZEND_API void add_index_object(zval *arg, zend_ulong index, zend_object *obj);
607 ZEND_API void add_index_reference(zval *arg, zend_ulong index, zend_reference *ref);
[all …]
H A Dzend_alloc.c551 unsigned long index;
554 if (!BitScanForward64(&index, ~bitset)) {
556 if (!BitScanForward(&index, ~bitset)) {
562 return (int)index;
1195 unsigned long index;
1197 if (!BitScanReverse(&index, (unsigned long)size)) {
1202 return (((31 - (int)index) ^ 0x1f) + 1);

Completed in 93 milliseconds

12345678910>>...21