Home
last modified time | relevance | path

Searched refs:offset (Results 26 – 50 of 706) sorted by relevance

12345678910>>...29

/PHP-8.0/ext/date/tests/
H A Dbug62896.phpt12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
36 2012-08-21 22:00:00 GMT+0000 (offset 0)
37 2012-08-21 22:00:00 GMT+0000 (offset 0)
39 2012-08-22 00:00:00 CEST (offset 7200)
40 2012-08-22 00:00:00 CEST (offset 7200)
42 2012-08-22 00:00:00 CEST (offset 7200)
[all …]
H A Dbug-gh9763.phpt2 Test bug GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset
21 Testing +99:60: DateTimeZone::__construct(): Timezone offset is out of range (+99:60)
22 Testing +99:62: DateTimeZone::__construct(): Timezone offset is out of range (+99:62)
23 Testing -99:62: DateTimeZone::__construct(): Timezone offset is out of range (-99:62)
24 Testing -99:60: DateTimeZone::__construct(): Timezone offset is out of range (-99:60)
25 Testing +9960: DateTimeZone::__construct(): Timezone offset is out of range (+9960)
26 Testing -9960: DateTimeZone::__construct(): Timezone offset is out of range (-9960)
H A D010.phpt16 ["offset"]=>
25 ["offset"]=>
34 ["offset"]=>
43 ["offset"]=>
52 ["offset"]=>
/PHP-8.0/ext/standard/tests/array/
H A Darray_splice_variation3.phpt12 function test_splice ($offset, $length)
116 absolute offset - absolute length - cut from middle
157 absolute offset - absolute length - cut from end
239 absolute offset - absolute length - cut everything
280 absolute offset - absolute length - cut nothing
362 absolute offset - relative length - cut from middle
444 absolute offset - relative length - cut nothing
567 relative offset - absolute length - cut from end
649 relative offset - absolute length - cut everything
690 relative offset - absolute length - cut nothing
[all …]
/PHP-8.0/ext/mbstring/tests/
H A Dbug45923.phpt2 Bug #45923 (mb_st[r]ripos() offset not handled correctly)
11 foreach([0, 3, 6, 9, 11, 12, -1, -3, -6, -20] as $offset) {
12 echo "> Offset: $offset\n";
14 var_dump($func($haystack, $needle, $offset));
47 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
55 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
70 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
93 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
101 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
139 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dmb_stripos_variation5_Bug45923.phpt2 Test mb_stripos() function : usage variations - Pass different integers as $offset argument
11 * Test how mb_stripos() behaves when passed different integers as $offset argument
27 * Loop through integers as multiples of ten for $offset argument
28 * mb_stripos should not be able to accept negative values as $offset.
53 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
55 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
89 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
95 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
97 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
11 * Test how mb_strripos() behaves when passed different integers as $offset argument
27 * Loop through integers as multiples of ten for $offset argument
28 * mb_strripos should not be able to accept negative values as $offset.
78 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
80 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
84 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
86 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
90 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
92 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
/PHP-8.0/Zend/tests/
H A Dbug54367.phpt7 public function offsetSet($offset, $value) { }
8 public function offsetExists($offset) { }
9 public function offsetUnset($offset) { }
11 public function offsetGet ($offset)
13 return function ($var) use ($offset) { // here is the problem
14 var_dump($offset, $var);
H A Dbug30346.phpt9 public function offsetExists( $offset ) { return false; }
10 public function offsetGet( $offset ) { return $offset; }
11 public function offsetSet( $offset, $data ) { }
12 public function offsetUnset( $offset ) { }
H A D033.phpt30 Warning: Trying to access array offset on value of type null in %s on line %d
32 Warning: Trying to access array offset on value of type null in %s on line %d
34 Warning: Trying to access array offset on value of type null in %s on line %d
36 Warning: Trying to access array offset on value of type null in %s on line %d
38 Warning: Trying to access array offset on value of type null in %s on line %d
42 Warning: Trying to access array offset on value of type null in %s on line %d
44 Warning: Trying to access array offset on value of type null in %s on line %d
46 Warning: Trying to access array offset on value of type null in %s on line %d
48 Warning: Trying to access array offset on value of type null in %s on line %d
50 Warning: Trying to access array offset on value of type null in %s on line %d
[all …]
H A Dbug39297.phpt13 public function offsetExists($offset) {
16 public function offsetUnset($offset) {
19 public function offsetSet($offset, $value) {
21 $cannonicalName = strtolower($offset);
26 public function offsetGet($offset) {
28 $cannonicalName = strtolower($offset);
H A Doffset_string.phpt53 Warning: String offset cast occurred in %s on line %d
56 Warning: String offset cast occurred in %s on line %d
58 Cannot access offset of type string on string
60 Cannot access offset of type string on string
62 Warning: Illegal string offset "15 and then some" in %s on line %d
65 Warning: String offset cast occurred in %s on line %d
68 Warning: String offset cast occurred in %s on line %d
70 Cannot access offset of type resource on string
71 Cannot access offset of type stdClass on string
72 Cannot access offset of type array on string
/PHP-8.0/ext/fileinfo/libmagic/
H A Dsoftmagic.c347 ms->offset += in match()
1338 ms->search.offset = offset; in mcopy()
1388 ms->search.offset = offset; in mcopy()
1487 offset = lhs; in do_ops()
1489 offset = ~offset; in do_ops()
1500 offset = -m->offset; in msetoffset()
1523 offset = m->offset; in msetoffset()
1528 ms->offset = offset; in msetoffset()
1531 ms->offset = ms->eoffset + offset; in msetoffset()
1551 uint32_t offset = ms->offset; in mget() local
[all …]
/PHP-8.0/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-SnP.h28 void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
29 void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int…
30 void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsign…
35 void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned…
36 … *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int leng…
/PHP-8.0/ext/standard/tests/serialize/
H A Dinvalid_signs_in_lengths.phpt21 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
24 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
27 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
30 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
33 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
36 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
39 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
42 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
45 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
48 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
[all …]
H A Dbug25378.phpt20 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d
23 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d
26 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d
29 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d
32 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d
35 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d
38 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d
47 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d
50 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d
53 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d
[all …]
/PHP-8.0/Zend/tests/anon/
H A D005.phpt17 public function offsetGet($offset) { return $this->data[$offset]; }
18 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); }
19 public function offsetUnset($offset) { unset($this->data[$offset]); }
20 public function offsetExists($offset) { return isset($this->data[$offset]); }
/PHP-8.0/Zend/
H A Dzend_multiply.h162 if (ZEND_CONST_COND(offset == 0, 0)) { in zend_safe_address()
172 "rm"(offset)); in zend_safe_address()
196 if (ZEND_CONST_COND(offset == 0, 0)) { in zend_safe_address()
209 "rm"(offset)); in zend_safe_address()
231 "0"(offset), in zend_safe_address()
253 "r"(offset)); in zend_safe_address()
277 "r"(offset)); in zend_safe_address()
305 size_t res = nmemb * size + offset; in zend_safe_address()
306 double _d = (double)nmemb * (double)size + (double)offset; in zend_safe_address()
321 size_t ret = zend_safe_address(nmemb, size, offset, &overflow); in zend_safe_address_guarded()
[all …]
/PHP-8.0/ext/intl/grapheme/
H A Dgrapheme_util.c152 if(offset != 0) { in grapheme_strpos_utf16()
166 if (offset >= 0) { in grapheme_strpos_utf16()
299 if ( 0 == offset ) { in grapheme_get_haystack_offset()
303 if ( offset < 0 ) { in grapheme_get_haystack_offset()
320 offset += iter_incr; in grapheme_get_haystack_offset()
324 if ( offset != 0 ) { in grapheme_get_haystack_offset()
338 if (offset >= 0) { in grapheme_strrpos_ascii()
339 p = haystack + offset; in grapheme_strrpos_ascii()
343 if (needle_len > (size_t)-offset) { in grapheme_strrpos_ascii()
354 return (e - p + (offset > 0 ? offset : 0)); in grapheme_strrpos_ascii()
[all …]
/PHP-8.0/ext/spl/tests/
H A DArrayObject_illegal_offset.phpt2 ArrayObject illegal offset
35 Illegal offset type
36 Illegal offset type
37 Illegal offset type
38 Illegal offset type in isset or empty
39 Illegal offset type in unset
/PHP-8.0/ext/spl/
H A Dspl_fixedarray.c121 ZEND_ASSERT(offset >= 0); in spl_fixedarray_copy_range()
331 if (!offset) { in spl_fixedarray_object_read_dimension_helper()
364 if (!offset) { in spl_fixedarray_object_read_dimension()
366 offset = &tmp; in spl_fixedarray_object_read_dimension()
371 zval_ptr_dtor(offset); in spl_fixedarray_object_read_dimension()
388 if (!offset) { in spl_fixedarray_object_write_dimension_helper()
422 if (!offset) { in spl_fixedarray_object_write_dimension()
424 offset = &tmp; in spl_fixedarray_object_write_dimension()
431 zval_ptr_dtor(offset); in spl_fixedarray_object_write_dimension()
467 zval_ptr_dtor(offset); in spl_fixedarray_object_unset_dimension()
[all …]
/PHP-8.0/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c37 #define ROL64(a, offset) _rotl64(a, offset) argument
46 #define ROL64(a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset))) argument
113 lane <<= offset*8; in KeccakP1600_AddBytesInLane()
118 lane |= ((UINT64)data[i]) << ((i+offset)*8); in KeccakP1600_AddBytesInLane()
188 lane <<= (offset%8)*8; in KeccakP1600_AddByte()
189 ((UINT64*)state)[offset/8] ^= lane; in KeccakP1600_AddByte()
209 ((unsigned char*)state)[lanePosition*8+offset+i] = ~data[i]; in KeccakP1600_OverwriteBytesInLane()
334 memcpy(data, (UINT8*)lane1+offset, length); in KeccakP1600_ExtractBytesInLane()
338 lane >>= offset*8; in KeccakP1600_ExtractBytesInLane()
412 output[i] = input[i] ^ ((UINT8*)lane1)[offset+i]; in KeccakP1600_ExtractAndAddBytesInLane()
[all …]
/PHP-8.0/ext/opcache/tests/jit/
H A Dfetch_dim_r_004.phpt42 Warning: String offset cast occurred in %s on line %d
47 Warning: String offset cast occurred in %s on line %d
50 Warning: String offset cast occurred in %s on line %d
53 Warning: String offset cast occurred in %s on line %d
55 Cannot access offset of type string on string
56 Cannot access offset of type string on string
58 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
61 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
/PHP-8.0/ext/standard/tests/file/
H A Dinclude_userstream_001.phpt39 function stream_seek($offset, $whence)
43 if ($offset < $this->data && $offset >= 0) {
44 $this->pos = $offset;
51 if ($offset >= 0) {
52 $this->pos += $offset;
59 if (strlen($this->data) + $offset >= 0) {
60 $this->pos = strlen($this->data) + $offset;
/PHP-8.0/ext/iconv/tests/
H A Diconv_strpos_variation5.phpt2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument
13 * Test how iconv_strpos() behaves when passed different integers as $offset argument
29 * Loop through integers as multiples of ten for $offset argument
55 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
57 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
93 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
97 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
99 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
103 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]

Completed in 54 milliseconds

12345678910>>...29