Home
last modified time | relevance | path

Searched refs:offset (Results 51 – 75 of 706) sorted by relevance

12345678910>>...29

/PHP-8.0/ext/mbstring/tests/
H A Dmb_strpos_variation5.phpt2 Test mb_strpos() function : usage variations - Pass different integers as $offset argument
11 * Test how mb_strpos() behaves when passed different integers as $offset argument
27 * Loop through integers as multiples of ten for $offset argument
53 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
55 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
89 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
95 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
97 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
101 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dmb_strpos_offset_errors.phpt49 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
50 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
51 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
52 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
53 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
54 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
55 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
56 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_stripos_invalid_offset.phpt84 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
85 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
86 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
87 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
88 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)
90 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)
92 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
93 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_strpos_invalid_offset.phpt84 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
85 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
86 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
87 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
88 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
89 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
90 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
92 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
93 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
/PHP-8.0/Zend/
H A Dzend_object_handlers.h30 #define IS_VALID_PROPERTY_OFFSET(offset) ((intptr_t)(offset) > 0) argument
31 #define IS_WRONG_PROPERTY_OFFSET(offset) ((intptr_t)(offset) == 0) argument
32 #define IS_DYNAMIC_PROPERTY_OFFSET(offset) ((intptr_t)(offset) < 0) argument
34 #define IS_UNKNOWN_DYNAMIC_PROPERTY_OFFSET(offset) (offset == ZEND_DYNAMIC_PROPERTY_OFFSET) argument
35 #define ZEND_DECODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-(intptr_t)(offset) - 2)) argument
36 #define ZEND_ENCODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-((intptr_t)(offset) + 2))) argument
87 typedef void (*zend_object_unset_dimension_t)(zend_object *object, zval *offset);
149 int offset; member
207 ZEND_API void zend_std_write_dimension(zend_object *object, zval *offset, zval *value);
208 ZEND_API int zend_std_has_dimension(zend_object *object, zval *offset, int check_empty);
[all …]
H A Dzend_interfaces.stub.php34 public function offsetExists(mixed $offset); argument
40 public function offsetGet(mixed $offset); argument
43 public function offsetSet(mixed $offset, mixed $value); argument
46 public function offsetUnset(mixed $offset); argument
/PHP-8.0/Zend/tests/
H A Dbug78356.phpt6 public function offsetGet($offset)
10 public function offsetExists($offset)
14 public function offsetUnset($offset) {}
15 public function offsetSet($offset, $value) {}
H A Doffset_bool.phpt28 Warning: Trying to access array offset on value of type bool in %s on line %d
31 Warning: Trying to access array offset on value of type bool in %s on line %d
34 Warning: Trying to access array offset on value of type bool in %s on line %d
37 Warning: Trying to access array offset on value of type bool in %s on line %d
40 Warning: Trying to access array offset on value of type bool in %s on line %d
43 Warning: Trying to access array offset on value of type bool in %s on line %d
46 Warning: Trying to access array offset on value of type bool in %s on line %d
49 Warning: Trying to access array offset on value of type bool in %s on line %d
52 Warning: Trying to access array offset on value of type bool in %s on line %d
H A Doffset_long.phpt28 Warning: Trying to access array offset on value of type int in %s on line %d
31 Warning: Trying to access array offset on value of type int in %s on line %d
34 Warning: Trying to access array offset on value of type int in %s on line %d
37 Warning: Trying to access array offset on value of type int in %s on line %d
40 Warning: Trying to access array offset on value of type int in %s on line %d
43 Warning: Trying to access array offset on value of type int in %s on line %d
46 Warning: Trying to access array offset on value of type int in %s on line %d
49 Warning: Trying to access array offset on value of type int in %s on line %d
52 Warning: Trying to access array offset on value of type int in %s on line %d
H A Doffset_null.phpt28 Warning: Trying to access array offset on value of type null in %s on line %d
31 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
37 Warning: Trying to access array offset on value of type null in %s on line %d
40 Warning: Trying to access array offset on value of type null in %s on line %d
43 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
49 Warning: Trying to access array offset on value of type null in %s on line %d
52 Warning: Trying to access array offset on value of type null in %s on line %d
H A Dlist_keyed_evaluation_order_nested.phpt15 "A" => "offset value for A",
17 0 => "offset value for 0",
18 1 => "offset value for 1"
21 "G" => "offset value for G",
22 "I" => "offset value for I"
63 Offset B set to offset value for A.
67 Offset D set to offset value for 0.
69 Offset E set to offset value for 1.
74 Offset H set to offset value for G.
77 Offset J set to offset value for I.
H A Dbug33710.phpt8 function offsetExists($offset) {/*...*/}
9 function offsetGet($offset) {/*...*/}
10 function offsetSet($offset, $value) {/*...*/}
11 function offsetUnset($offset) {/*...*/}
H A Dlist_keyed_ArrayAccess.phpt28 public function offsetGet($offset) {
30 var_dump($offset);
32 public function offsetSet($offset, $value) {
34 public function offsetExists($offset) {
36 public function offsetUnset($offset) {
42 // PHP shouldn't convert this to an integer offset, because it's ArrayAccess
H A Dstr_offset_003.phpt2 string offset 003
23 Warning: Uninitialized string offset -10 in %s on line %d
27 Warning: Uninitialized string offset -2 in %s on line %d
31 Warning: Uninitialized string offset -10 in %s on line %d
35 Warning: Uninitialized string offset -2 in %s on line %d
/PHP-8.0/ext/intl/tests/
H A Dgrapheme_out_of_bounds.phpt209 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
210 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
211 grapheme_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
213 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
214 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
215 grapheme_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
218 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
219 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
222 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
227 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
/PHP-8.0/ext/opcache/tests/jit/
H A Dfetch_dim_r_003.phpt46 Warning: String offset cast occurred in %s on line %d
51 Warning: String offset cast occurred in %s on line %d
54 Warning: String offset cast occurred in %s on line %d
57 Warning: String offset cast occurred in %s on line %d
59 Cannot access offset of type string on string
60 Cannot access offset of type string on string
62 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 24
65 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 27
H A Dassign_dim_006.phpt20 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
22 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
24 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
26 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
28 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
/PHP-8.0/ext/iconv/tests/
H A Diconv_substr.phpt17 function foo($str, $offset, $len, $charset) {
18 hexdump(substr($str, $offset, $len));
19 hexdump(iconv_substr($str, $offset, $len, $charset));
22 function bar($str, $offset, $len = false) {
24 var_dump(substr($str, $offset));
25 var_dump(iconv_substr($str, $offset));
27 var_dump(substr($str, $offset, $len));
28 var_dump(iconv_substr($str, $offset, $len));
/PHP-8.0/ext/date/tests/
H A Dstrtotime-relative.phpt11 // offset around a day
18 // offset around 7 days
25 // offset around 6 months
32 // offset around 10 years
39 // offset around 25 years (can't do much more reliably with strtotime)
45 foreach ($offsets AS $offset) {
47 …echo "$direction$offset: " . date(DATE_ISO8601, strtotime("$direction$offset", $base_time)) . "\n";
H A DDateTimeZone_listAbbreviations_basic1.phpt30 ["offset"]=>
39 ["offset"]=>
48 ["offset"]=>
57 ["offset"]=>
66 ["offset"]=>
75 ["offset"]=>
H A Dtimezone_abbreviations_list_basic1.phpt30 ["offset"]=>
39 ["offset"]=>
48 ["offset"]=>
57 ["offset"]=>
66 ["offset"]=>
75 ["offset"]=>
H A Ddate_offset_get_basic1.phpt13 echo "Winter offset: " . date_offset_get($winter) / 3600 . " hours\n";
14 echo "Summer offset: " . date_offset_get($summer) / 3600 . " hours\n";
19 Winter offset: 0 hours
20 Summer offset: 1 hours
/PHP-8.0/ext/standard/tests/strings/
H A Dstrripos_offset.phpt2 strripos() offset integer overflow
39 strripos(): Argument #3 ($offset) must be of type int, float given
40 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
41 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
42 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
43 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dstrrpos_offset.phpt2 strrpos() offset integer overflow
39 strrpos(): Argument #3 ($offset) must be of type int, float given
40 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
41 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
42 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
43 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
/PHP-8.0/ext/opcache/tests/
H A Dbug77275.phpt13 public function offsetSet($offset, $value) { throw new \Exception; }
14 public function offsetGet($offset) { var_dump($offset); }
15 public function offsetExists($offset) { throw new \Exception; }
16 public function offsetUnset($offset) { throw new \Exception; }

Completed in 34 milliseconds

12345678910>>...29