Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 96) sorted by relevance

1234

/PHP-7.2/ext/pcre/
H A Dphp_pcre.c897 if (offsets[1] - offsets[0] < 0) { in php_pcre_match_impl()
917 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl()
929 offsets[(i<<1)+1] - offsets[i<<1]); in php_pcre_match_impl()
976 offsets[(i<<1)+1] - offsets[i<<1]); in php_pcre_match_impl()
995 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl()
1025 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl()
1039 offsets[(i<<1)+1] - offsets[i<<1]); in php_pcre_match_impl()
1058 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl()
1222 add_next_index_stringl(&arg, &subject[offsets[i<<1]], offsets[(i<<1)+1] - offsets[i<<1]); in preg_do_repl_func()
1226 add_next_index_stringl(&arg, &subject[offsets[i<<1]], offsets[(i<<1)+1] - offsets[i<<1]); in preg_do_repl_func()
[all …]
/PHP-7.2/ext/standard/tests/strings/
H A Dstrripos_basic2.phpt15 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 Dstrripos_variation3.phpt11 * 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 Dstrrpos_basic2.phpt16 //regular string for haystack & needle, with various offsets
22 //heredoc string for haystack & needle, with various offsets
29 //various offsets
H A Dstripos_basic2.phpt16 //regular string for haystack & needle, with various offsets
25 //heredoc string for haystack & needle, with various offsets
34 //various offsets
H A Dstrrpos_variation8.phpt11 * and with various needles & offsets
18 /* loop through to consider various offsets in getting the position of the needle in haystack strin…
H A Dstripos_variation14.phpt33 $offsets = array (
79 for($index = 0; $index < count($offsets); $index ++) {
81 var_dump( stripos($haystack, $needle, $offsets[$index]) );
H A Dstrrpos_variation14.phpt35 $offsets = array (
81 for($index = 0; $index < count($offsets); $index ++) {
83 var_dump( strrpos($haystack, $needle, $offsets[$index]) );
/PHP-7.2/ext/standard/tests/file/
H A Dbug39673.phpt2 Bug #39673 (file_get_contents causes bus error on certain offsets)
11 $offsets = array(
23 foreach ($offsets as $offset) {
H A Dfpassthru_variation.phpt13 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.2/ext/date/tests/
H A Ddate_create-relative.phpt2 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 Dstrtotime-relative.phpt2 strtotime() with relative offsets
10 $offsets = array(
45 foreach ($offsets AS $offset) {
H A Dbug44780.phpt2 Bug #44780 (some time zone offsets not recognized by timezone_name_from_abbr)
H A Dtimezone_name_from_abbr_basic1.phpt34 echo "-- Tests with invalid offsets --\n";
55 -- Tests with invalid offsets --
/PHP-7.2/Zend/tests/
H A Dbug49866.phpt2 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 Dstring_offset_errors.phpt26 Cannot return string offsets by reference
27 Cannot create references to/from string offsets
H A Dbug70089.phpt35 string(27) "Cannot unset string offsets"
37 string(41) "Cannot increment/decrement string offsets"
H A Dstr_offset_002.phpt9 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sstr_offset_002.ph…
H A Dbug47704.phpt2 Bug #47704 (crashes on some "bad" operations with string offsets)
H A Dbug69889.phpt2 Bug #69889: Null coalesce operator doesn't work for string offsets
H A Dbug73792.phpt17 Fatal error: Uncaught Error: Cannot iterate on string offsets by reference in %sbug73792.php:4
H A Dneg_num_string.phpt2 Test edge-cases for negative num strings in interpolated string offsets
H A Disset_str_offset.phpt2 Testing isset with string offsets
18 // non-numeric offsets
/PHP-7.2/ext/spl/tests/
H A DArrayObject_illegal_offset_leak.phpt2 Assignments to illegal ArrayObject offsets shouldn't leak
/PHP-7.2/Zend/tests/generators/
H A Dyield_array_offset_by_ref.phpt2 Array offsets can be yielded by reference

Completed in 131 milliseconds

1234