Home
last modified time | relevance | path

Searched refs:offset (Results 126 – 150 of 806) sorted by relevance

12345678910>>...33

/php-src/Zend/tests/offsets/
H A Dinvalid_container_offset_behaviour.phpt23 Warning: Trying to access array offset on $containerStr in %s on line 8
29 Warning: Trying to access array offset on $containerStr in %s on line 22
42 Cannot unset offset in a non-array variable
45 Warning: Trying to access array offset on $containerStr in %s on line 74
47 Warning: Trying to access array offset on null in %s on line 74
60 Cannot unset offset in a non-array variable
84 foreach ($offsets as $offset) {
85 $dimension = &$offset;
H A Dinternal_handlers.phpt224 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
228 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
230 …se, has: true, unset: false, readType: uninitialized, hasOffset: true, checkEmpty: 0, offset: 'foo'
232 …se, has: true, unset: false, readType: uninitialized, hasOffset: true, checkEmpty: 1, offset: 'foo'
234 …false, unset: false, readType: BP_VAR_IS, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
241 Warning: Trying to access array offset on true in %s on line %d
242 … false, unset: false, readType: BP_VAR_R, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
247 … false, unset: false, readType: BP_VAR_W, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
273 … false, unset: false, readType: BP_VAR_W, hasOffset: true, checkEmpty: uninitialized, offset: 'foo'
282 Error: Cannot unset offset in a non-array variable
[all …]
/php-src/tests/strings/
H A Doffsets_chaining_5.phpt2 testing the behavior of string offset chaining
18 Warning: Illegal string offset "0foo" in %s on line %d
22 Warning: Illegal string offset "0foo" in %s on line %d
24 Warning: Illegal string offset "0bar" in %s on line %d
/php-src/ext/mysqli/tests/
H A Dlocal_infile_tools.inc58 function create_standard_csv($offset, $verbose = true) {
63 printf("[%03d + 1] Cannot create CVS file '%s'\n", $offset, $file);
74 printf("[%03d + 3] Cannot write CVS file '%s'\n", $offset, $file);
83 $offset, $file);
89 function try_handler($offset, $link, $file, $handler, $expected = null) {
94 printf("[%03d] Cannot set infile handler to '%s'\n", $offset, $handler);
110 $offset + 2,
115 printf("[%03d] [%d] %s\n", $offset + 3, mysqli_errno($link), mysqli_error($link));
129 $offset + 5, $k,
135 $offset + 6, $k,
[all …]
H A Dmysqli_reap_async_query.phpt25 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
29 $offset, $exp_ready, $tmp);
38 printf("[%03d + 2] %s\n", $offset, var_export($res->fetch_assoc(), true));
41 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
43 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
49 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
53 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dmysqli_stmt_bind_limits.phpt16 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
46 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error);
52 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error);
56 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
63 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
73 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
78 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
83 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
91 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error);
100 printf("[%03d + 06] [%d] %s\n", $offset, $link->errno, $link->error);
/php-src/ext/standard/tests/serialize/
H A Dunserialize_large.phpt13 Warning: unserialize(): Error at offset 14 of 15 bytes in %s on line %d
16 Warning: unserialize(): Error at offset 2 of 20 bytes in %s on line %d
19 Warning: unserialize(): Error at offset 18 of 21 bytes in %s on line %d
24 Warning: unserialize(): Error at offset 20 of 21 bytes in %s on line %d
H A Dserialization_objects_018.phpt23 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
26 Warning: unserialize(): Error at offset 10 of 15 bytes in %s on line %d
29 Warning: unserialize(): Error at offset 14 of 15 bytes in %s on line %d
32 Warning: unserialize(): Error at offset 8 of 8 bytes in %s on line %d
H A Dunserialize_extra_data_001.phpt13 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d
16 Warning: unserialize(): Extra data starting at offset 2 of 6 bytes in %s on line %d
19 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d
22 Warning: unserialize(): Extra data starting at offset 20 of 24 bytes in %s on line %d
/php-src/ext/standard/tests/file/
H A Dinclude_streams.phpt68 function stream_seek($offset, $whence)
72 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
73 $this->position = $offset;
80 if ($offset >= 0) {
81 $this->position += $offset;
88 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
89 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Duserstreams.phpt126 function stream_seek($offset, $whence)
130 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
131 $this->position = $offset;
138 if ($offset >= 0) {
217 $offset = rand(0, $DATALEN - 1);
218 $position = $offset;
221 $offset = -rand(0, $DATALEN - 1);
222 $position = $DATALEN + $offset;
225 $offset = rand(0, $DATALEN - 1);
226 $offset -= $position;
[all …]
/php-src/ext/opcache/tests/jit/
H A Dgh12723-A.phpt2 GH-12723: Function JIT emits "Uninitialized string offset" warning at the same time as invalid offs…
20 Cannot access offset of type array on string
H A Dgh12747.phpt2 GH-12747: Function JIT returns invalid error message for coalesce operator on invalid offset
31 Cannot access offset of type stdClass in isset or empty
33 Cannot access offset of type stdClass in isset or empty
35 Cannot access offset of type stdClass on array
/php-src/ext/spl/tests/
H A Dbug66834.phpt9 public function offsetExists($offset): bool {
11 return parent::offsetExists($offset);
14 public function offsetGet($offset): mixed {
16 return parent::offsetGet($offset);
23 public function offsetExists($offset): bool {
25 return parent::offsetExists($offset);
32 public function offsetGet($offset): mixed {
34 return parent::offsetGet($offset);
41 public function offsetGet($offset): mixed
43 return parent::offsetGet(str_rot13($offset));
[all …]
/php-src/ext/zend_test/
H A Dobject_handlers.c245 static void dimension_common_helper(zend_object *object, zval *offset, int prop_access_type) { in dimension_common_helper() argument
248 ZVAL_BOOL(OBJ_PROP_NUM(object, 5), offset != NULL); in dimension_common_helper()
249 if (offset) { in dimension_common_helper()
250 ZVAL_COPY(OBJ_PROP_NUM(object, 7), offset); in dimension_common_helper()
255 dimension_common_helper(object, offset, 0); in dimension_handlers_no_ArrayAccess_read_dimension()
264 static void dimension_handlers_no_ArrayAccess_write_dimension(zend_object *object, zval *offset, zv… in dimension_handlers_no_ArrayAccess_write_dimension() argument
265 dimension_common_helper(object, offset, 1); in dimension_handlers_no_ArrayAccess_write_dimension()
268 static int dimension_handlers_no_ArrayAccess_has_dimension(zend_object *object, zval *offset, int c… in dimension_handlers_no_ArrayAccess_has_dimension() argument
271 dimension_common_helper(object, offset, 2); in dimension_handlers_no_ArrayAccess_has_dimension()
277 static void dimension_handlers_no_ArrayAccess_unset_dimension(zend_object *object, zval *offset) { in dimension_handlers_no_ArrayAccess_unset_dimension() argument
[all …]
/php-src/ext/dom/tests/
H A DDOMComment_insertData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_replaceData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_insertData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
H A DDOMComment_replaceData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_blobfromstream.phpt34 function blob_from_stream($offset, $db, $file, $blob) {
39 printf("[%03d + 1] Cannot remove old test file\n", $offset);
45 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file);
52 printf("[%03d + 3] Failed to create test file '%s'\n", $offset, $file);
60 printf("[%03d + 4] %s\n", $offset, var_export($db->errorInfo(), true));
66 printf("[%03d + 5] Cannot create test file '%s'\n", $offset, $file);
75 $offset,
82 … printf("[%03d + 7] Failed to INSERT data, %s\n", $offset, var_export($stmt->errorInfo(), true));
89 printf("[%03d + 8] INSERT and/or SELECT has failed, dumping data.\n", $offset);
102 printf("[%03d + 9] %s\n", $offset, var_export($stmt->errorInfo(), true));
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt15 function pdo_mysql_stmt_bindparam_types_do($db, $offset, $native, $sql_type, $value) {
28 printf("[%03d/%s + 1] %s\n", $offset, ($native) ? 'native' : 'emulated',
33 printf("[%03d/%s + 2] %s\n", $offset, ($native) ? 'native' : 'emulated',
41 printf("[%03d/%s + 3] %s\n", $offset, ($native) ? 'native' : 'emulated',
46 printf("[%03d/%s + 4] %s\n", $offset, ($native) ? 'native' : 'emulated',
60 $offset, ($native) ? 'native' : 'emulated',
75 $offset, ($native) ? 'native' : 'emulated',
82 $offset, ($native) ? 'native' : 'emulated',
91 function pdo_mysql_stmt_bindparam_types($db, $offset, $sql_type, $value) {
92 pdo_mysql_stmt_bindparam_types_do($db, $offset, true, $sql_type, $value);
[all …]
/php-src/ext/calendar/tests/
H A Djddayofweek.phpt11 for ($offset = 0; $offset <= 7; $offset++) {
12 echo jddayofweek($jd + $offset, $mode). "\n";
/php-src/Zend/tests/
H A Dlist_keyed_evaluation_order.phpt11 …IndexableRetrievable("E", new Indexable(["A" => "value for offset A", "C" => "value for offset C"]…
32 Offset B set to value for offset A.
35 Offset D set to value for offset C.
H A Dbug81159.phpt2 Bug #81159: Object to int warning when using an object as a string offset
20 Cannot access offset of type stdClass on string
21 Cannot access offset of type stdClass on string
/php-src/ext/intl/tests/
H A Dresourcebundle_arrayaccess.phpt26 echo "Using a reference as an offset:\n";
27 $offset = 'teststring';
28 $ref = &$offset;
54 Using a reference as an offset:

Completed in 26 milliseconds

12345678910>>...33