/PHP-7.3/ext/standard/tests/strings/ |
H A D | strripos_basic2.phpt | 15 echo "\n-- regular string for haystack & needle, with various offsets --\n"; 21 echo "\n-- heredoc string for haystack & needle, with various offsets --\n"; 28 echo "\n-- various +ve offsets --\n"; 33 echo "\n-- various -ve offsets --\n"; 42 -- regular string for haystack & needle, with various offsets -- 48 -- heredoc string for haystack & needle, with various offsets -- 55 -- various +ve offsets -- 60 -- various -ve offsets --
|
H A D | strripos_variation3.phpt | 11 * with various needles & offsets 22 echo "\n-- Multi line strings with +ve offsets -- \n"; 27 echo "\n-- Multi line strings with +ve offsets -- \n"; 44 -- Multi line strings with +ve offsets -- 49 -- Multi line strings with +ve offsets --
|
H A D | strrpos_basic2.phpt | 16 //regular string for haystack & needle, with various offsets 22 //heredoc string for haystack & needle, with various offsets 29 //various offsets
|
H A D | stripos_basic2.phpt | 16 //regular string for haystack & needle, with various offsets 25 //heredoc string for haystack & needle, with various offsets 34 //various offsets
|
H A D | strrpos_variation8.phpt | 11 * and with various needles & offsets 18 /* loop through to consider various offsets in getting the position of the needle in haystack strin…
|
H A D | stripos_variation14.phpt | 33 $offsets = array ( 79 for($index = 0; $index < count($offsets); $index ++) { 81 var_dump( stripos($haystack, $needle, $offsets[$index]) );
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 1151 if (offsets[1] < offsets[0]) { in php_pcre_match_impl() 1166 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl() 1245 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl() 1276 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl() 1290 offsets[(i<<1)+1] - offsets[i<<1]); in php_pcre_match_impl() 1309 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl() 1504 add_next_index_stringl(&arg, &subject[offsets[i<<1]], offsets[(i<<1)+1] - offsets[i<<1]); in preg_do_repl_func() 1532 result_str = zend_string_init(&subject[offsets[0]], offsets[1] - offsets[0], 0); in preg_do_repl_func() 1637 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_impl() 1893 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_func_impl() [all …]
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | bug39673.phpt | 2 Bug #39673 (file_get_contents causes bus error on certain offsets) 11 $offsets = array( 23 foreach ($offsets as $offset) {
|
H A D | fpassthru_variation.phpt | 13 echo "--- Testing with different offsets ---\n"; 23 /* Positive offsets */ 33 /* Negative offsets, the file pointer should be at the end of file 77 --- Testing with different offsets ---
|
/PHP-7.3/ext/date/tests/ |
H A D | date_create-relative.phpt | 2 date_create() with large relative offsets 14 // Most offsets tested in strtotime-relative.phpt. These are tests for dates outside the 32-bit ran… 15 $offsets = array( 45 foreach ($offsets AS $offset) {
|
H A D | strtotime-relative.phpt | 2 strtotime() with relative offsets 10 $offsets = array( 45 foreach ($offsets AS $offset) {
|
H A D | bug44780.phpt | 2 Bug #44780 (some time zone offsets not recognized by timezone_name_from_abbr)
|
H A D | timezone_name_from_abbr_basic1.phpt | 34 echo "-- Tests with invalid offsets --\n"; 55 -- Tests with invalid offsets --
|
/PHP-7.3/Zend/tests/ |
H A D | bug49866.phpt | 2 Bug #49866 (Making reference on string offsets crashes PHP) 10 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sbug49866.php:3
|
H A D | string_offset_errors.phpt | 26 Cannot return string offsets by reference 27 Cannot create references to/from string offsets
|
H A D | bug70089.phpt | 35 string(27) "Cannot unset string offsets" 37 string(41) "Cannot increment/decrement string offsets"
|
H A D | str_offset_002.phpt | 9 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sstr_offset_002.ph…
|
H A D | bug47704.phpt | 2 Bug #47704 (crashes on some "bad" operations with string offsets)
|
H A D | list_assign_ref_string_offset_error.phpt | 13 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %s:%d
|
H A D | bug69889.phpt | 2 Bug #69889: Null coalesce operator doesn't work for string offsets
|
H A D | bug73792.phpt | 17 Fatal error: Uncaught Error: Cannot iterate on string offsets by reference in %sbug73792.php:4
|
H A D | neg_num_string.phpt | 2 Test edge-cases for negative num strings in interpolated string offsets
|
/PHP-7.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeMIPS_32.c | 449 sljit_u8 offsets[4]; in call_with_args() local 503 if (offsets[arg_count] < 254) in call_with_args() 509 if (offsets[arg_count] < 254) in call_with_args() 514 if (offsets[arg_count - 1] >= 16) in call_with_args() 543 if (offsets[arg_count] == 254) in call_with_args() 545 else if (offsets[arg_count] < 16) in call_with_args() 546 ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args() 550 if (offsets[arg_count] == 254) in call_with_args() 552 else if (offsets[arg_count] < 16) { in call_with_args() 555 prev_ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args() [all …]
|
/PHP-7.3/ext/spl/tests/ |
H A D | ArrayObject_illegal_offset_leak.phpt | 2 Assignments to illegal ArrayObject offsets shouldn't leak
|
/PHP-7.3/Zend/tests/generators/ |
H A D | yield_array_offset_by_ref.phpt | 2 Array offsets can be yielded by reference
|