/php-src/.github/workflows/ |
H A D | nightly.yml | 511 … php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
|
/php-src/ |
H A D | NEWS | 89 - ValueError if the integer index does not fit in a signed 32 bit integer
|
H A D | UPGRADING | 23 . 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 D | sccp.c | 397 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 D | zend_dump.c | 30 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 D | zend_inference.c | 185 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 D | zend_optimizer.c | 575 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 D | array_offset_002.phpt | 2 Capturing array in user error handler during index conversion
|
H A D | bug26696.phpt | 2 Bug #26696 (crash in switch() when string index is used)
|
H A D | bug47836.phpt | 2 Bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
|
H A D | bug53432.phpt | 2 Bug #53432: Assignment via string index access on an empty string converts to array
|
H A D | bug55509.phpt | 21 $index = strtolower($tmp[0]); 23 $infos[$index] = $value; 41 $index = strtolower($tmp[0]); 43 $infos[$index] = $value;
|
H A D | bug67169.phpt | 2 Bug #67169: array_splice all elements, then []= gives wrong index
|
H A D | bug67985.phpt | 2 Bug #67985 - Last used array index not copied to new array at assignment
|
H A D | bug70662.phpt | 2 Bug #70662: Duplicate array key via undefined index error handler
|
H A D | bug78598.phpt | 2 Bug #78598: Changing array during undef index RW error segfaults
|
H A D | bug79793.phpt | 2 Bug #79793: Use after free if string used in undefined index warning is changed
|
H A D | constant_expressions_coalesce.phpt | 8 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 D | gh11320_1.phpt | 5 $index = 1; 7 var_dump([$index => list($x, $y) = getList()]); 8 var_dump([$index => [$x, $y] = getList()]);
|
H A D | object_handlers.phpt | 22 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 D | undef_index_to_exception.phpt | 2 Converting undefined index/offset notice to exception
|
/php-src/Zend/tests/in-de-crement/ |
H A D | overloaded_access.phpt | 10 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 D | zend_API.c | 1965 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 D | zend_API.h | 597 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 D | zend_alloc.c | 551 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);
|