/php-src/ |
H A D | .gdbinit | 235 set $val = (zval*)((char*)$zobj + $prop->offset) 486 set $ptr_to_val = (zval*)((char*)$pi->ce->default_properties_table + $pi->offset - $initial_offset) 488 printf " offset = %p\n", $pi->offset
|
H A D | NEWS | 83 - TypeError for invalid offset types 113 . Fixed bug GH-13834 (Applying non-zero offset 36 to null pointer in
|
H A D | UPGRADING | 50 - TypeError for invalid offset types
|
/php-src/TSRM/ |
H A D | TSRM.c | 79 #define TSRM_SAFE_RETURN_RSRC(array, offset, range) \ argument 81 int unshuffled_offset = TSRM_UNSHUFFLE_RSRC_ID(offset); \ 83 if (offset==0) { \ 97 #define TSRM_SAFE_RETURN_RSRC(array, offset, range) \ argument 98 if (offset==0) { \ 101 return array[TSRM_UNSHUFFLE_RSRC_ID(offset)]; \ 323 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca… in ts_allocate_fast_id() argument 337 *offset = 0; in ts_allocate_fast_id() 342 *offset = TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + tsrm_reserved_pos; in ts_allocate_fast_id() 361 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].fast_offset = *offset; in ts_allocate_fast_id()
|
H A D | TSRM.h | 95 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca… 168 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument 169 #define TSRMG_FAST_BULK(offset, type) ((type) (((char*) tsrm_get_ls_cache())+(offset))) argument 173 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument 174 #define TSRMG_FAST_BULK_STATIC(offset, type) ((type) (((char*) TSRMLS_CACHE)+(offset))) argument
|
/php-src/Zend/Optimizer/ |
H A D | optimize_temp_vars_5.c | 45 int offset = op_array->last_var; in zend_optimize_temporary_variables() local 68 start_of_T[VAR_NUM(opline->result.var) - offset] = opline; in zend_optimize_temporary_variables() 80 currT = VAR_NUM(opline->op1.var) - offset; in zend_optimize_temporary_variables() 93 opline->op1.var = NUM_VAR(var + offset); in zend_optimize_temporary_variables() 134 opline->op1.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables() 139 currT = VAR_NUM(opline->op2.var) - offset; in zend_optimize_temporary_variables() 144 opline->op2.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables() 148 currT = VAR_NUM(opline->result.var) - offset; in zend_optimize_temporary_variables() 154 opline->result.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
|
H A D | pass1.c | 129 zval *offset; in zend_optimizer_pass1() local 134 …if ((offset = zend_get_constant_str("__COMPILER_HALT_OFFSET__", sizeof("__COMPILER_HALT_OFFSET__")… in zend_optimizer_pass1() 137 replace_by_const_or_qm_assign(op_array, opline, offset); in zend_optimizer_pass1()
|
/php-src/Zend/tests/ |
H A D | 024.phpt | 20 Warning: Trying to access array offset on null in %s on line %d 27 Warning: Trying to access array offset on null in %s on line %d 52 Warning: Trying to access array offset on null in %s on line %d
|
H A D | 033.phpt | 30 Warning: Trying to access array offset on null in %s on line %d 32 Warning: Trying to access array offset on null in %s on line %d 34 Warning: Trying to access array offset on null in %s on line %d 36 Warning: Trying to access array offset on null in %s on line %d 38 Warning: Trying to access array offset on null in %s on line %d 42 Warning: Trying to access array offset on null in %s on line %d 44 Warning: Trying to access array offset on null in %s on line %d 46 Warning: Trying to access array offset on null in %s on line %d 48 Warning: Trying to access array offset on null in %s on line %d 50 Warning: Trying to access array offset on null in %s on line %d [all …]
|
H A D | 036.phpt | 2 Trying to use lambda in array offset 14 Cannot access offset of type Closure on array
|
H A D | 038.phpt | 14 Cannot access offset of type Closure on array
|
H A D | alternative_offset_syntax_compile_error_in_const_expr.phpt | 2 Alternative offset syntax should emit E_COMPILE_ERROR in const expression 9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
|
H A D | alternative_offset_syntax_compile_error_outside_const_expr.phpt | 2 Alternative offset syntax should emit E_COMPILE_ERROR outside const expression 9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
|
H A D | alternative_offset_syntax_in_encaps_string.phpt | 2 Alternative offset syntax should emit only E_COMPILE_ERROR in string interpolation 6 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
|
H A D | argument_restriction_005.phpt | 11 …:offsetSet(): void must be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): vo…
|
H A D | array_offset.phpt | 2 Ensure "undefined offset" notice formats message correctly when undefined key is negative
|
H A D | assign_dim_obj_null_return.phpt | 75 Cannot access offset of type array on array 76 Cannot access offset of type stdClass on array 79 Cannot access offset of type array on array 80 Cannot access offset of type stdClass on array
|
H A D | assign_to_var_003.phpt | 16 Warning: Trying to access array offset on float in %s on line %d
|
H A D | bug26281.phpt | 2 Bug #26281 (switch() crash when condition is a string offset)
|
H A D | bug29883.phpt | 18 Warning: Uninitialized string offset -10 in %s on line %d
|
H A D | bug30346.phpt | 9 public function offsetExists( $offset ): bool { return false; } 10 public function offsetGet( $offset ): mixed { return $offset; } 11 public function offsetSet( $offset, $data ): void { } 12 public function offsetUnset( $offset ): void { }
|
H A D | bug31098.phpt | 62 Cannot access offset of type string on string 64 Cannot access offset of type string on string
|
H A D | bug32252.phpt | 8 function offsetExists($offset): bool 10 echo __METHOD__ . "($offset)\n"; 14 function offsetGet($offset): mixed 16 echo __METHOD__ . "($offset)\n"; 20 function offsetSet($offset, $value): void 22 echo __METHOD__ . "($offset, $value)\n"; 26 function offsetUnset($offset): void 28 echo __METHOD__ . "($offset)\n";
|
/php-src/Zend/tests/anon/ |
H A D | 004.phpt | 15 public function offsetGet($offset): mixed { return $this->data[$offset]; } 16 public function offsetSet($offset, $data): void { $this->data[$offset] = $data; } 17 public function offsetUnset($offset): void { unset($this->data[$offset]); } 18 … public function offsetExists($offset): bool { return isset($this->data[$offset]); }
|
H A D | 005.phpt | 17 public function offsetGet($offset): mixed { return $this->data[$offset]; } 18 public function offsetSet($offset, $data): void { $this->data[$offset] = $data; } 19 public function offsetUnset($offset): void { unset($this->data[$offset]); } 20 public function offsetExists($offset): bool { return isset($this->data[$offset]); }
|