Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 25 of 177) sorted by relevance

12345678

/PHP-8.1/ext/standard/tests/strings/
H A Dstrrchr_variation4.phpt2 Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack'
5 /* Test strrchr() function by passing heredoc string containing special chars for haystack
13 chars.
39 chars."
41 chars."
43 chars."
45 chars."
47 chars."
49 chars."
52 chars."
H A Dstrripos_variation4.phpt2 Test strripos() function : usage variations - heredoc string containing special chars for 'haystack…
5 /* Test strripos() function by passing heredoc string containing special chars for haystack
10 echo "-- With heredoc string containing special chars --\n";
14 chars.
27 -- With heredoc string containing special chars --
H A Dstrrpos_variation4.phpt2 Test strrpos() function : usage variations - heredoc string containing special chars for 'haystack'…
5 /* Test strrpos() function by passing heredoc string containing special chars for haystack
10 echo "-- With heredoc string containing special chars --\n";
14 chars.
28 -- With heredoc string containing special chars --
H A Dstripos_variation4.phpt2 Test stripos() function : usage variations - heredoc string containing special chars for 'haystack'…
5 /* Test stripos() function by passing heredoc string containing special chars for haystack
10 echo "-- With heredoc string containing special chars --\n";
14 chars.
28 -- With heredoc string containing special chars --
H A Dstrpos_variation1.phpt2 Test strpos() function : usage variations - complex strings containing other than 7-bit chars
7 echo "-- Positions of some chars in the string '$stringAsHex' are as follows --\n";
18 -- Positions of some chars in the string '008081eaebfeff' are as follows --
H A Dstrstr_variation1.phpt2 Test strstr() function : usage variations - complex strings containing other than 7-bit chars
7 echo "-- Positions of some chars in the string '$stringAsHex' are as follows --\n";
18 -- Positions of some chars in the string '008081eaebfeff' are as follows --
H A Dstrtr_variation2.phpt2 Test strtr() function : usage variations - string containing special chars for 'str' argument
7 * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments
10 echo "*** Testing strtr() : string containing special chars for 'str' arg ***\n";
58 *** Testing strtr() : string containing special chars for 'str' arg ***
H A Dstrrpos_variation8.phpt2 Test strrpos() function : usage variations - repetitive chars for 'haystack' argument
9 echo "*** Testing strrpos() function: strings repetitive chars ***\n";
23 *** Testing strrpos() function: strings repetitive chars ***
H A Ducwords_variation3.phpt11 // different strings containing regular chars and special chars
23 // using quote chars in sentence
35 //using special chars in sentence
40 //only special chars
H A Dfprintf_variation_004.phpt14 fprintf($fp, "\n*** Testing fprintf() for chars ***\n");
29 *** Testing fprintf() for chars ***
/PHP-8.1/ext/pdo_oci/tests/
H A Dbug60994.phpt53 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
73 $string3 = 'abc' . str_repeat('Җ', 8187) . 'xyz'; // 8193 chars total is when it breaks
93 $string4 = 'abc' . str_repeat('の', 8187) . 'xyz'; // 8193 chars total is when it breaks
114 size of string1 is 8193 bytes, 8193 chars.
115 size of stream1 is 8193 bytes, 8193 chars.
120 size of string2 is 16380 bytes, 8193 chars.
121 size of stream2 is 16380 bytes, 8193 chars.
126 size of string3 is 16380 bytes, 8193 chars.
127 size of stream3 is 16380 bytes, 8193 chars.
132 size of string4 is 24567 bytes, 8193 chars.
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dfgets_variation3.phpt47 var_dump( fgets($file_handle, 23) ); // expected: 22 chars
71 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
82 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
94 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
106 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
119 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
130 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
142 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
154 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
167 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
[all …]
H A Dfgets_basic.phpt33 var_dump( fgets($file_handle, 23) ); // expected: 22 chars
56 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
66 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
77 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
88 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
100 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
110 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
121 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
132 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
144 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
[all …]
H A Dcopy_variation17.phpt2 Test copy() function: usage variations - wildcard chars in source
5 …st copy(): Trying to copy the source file which is given with the combination of wild-card chars */
9 echo "*** Test copy() function: With source file names containing wild-card chars ***\n";
49 *** Test copy() function: With source file names containing wild-card chars ***
/PHP-8.1/ext/oci8/tests/
H A Dbug70700.phpt62 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
93 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
124 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL;
162 size of string1 is 1000006 bytes, 1000006 chars.
163 size of stream1a is 1000006 bytes, 1000006 chars.
168 size of string2 is 8194 bytes, 4100 chars.
169 size of stream2a is 8194 bytes, 4100 chars.
174 size of string3 is 8194 bytes, 4100 chars.
175 size of stream3a is 8194 bytes, 4100 chars.
180 size of string4 is 8193 bytes, 2735 chars.
[all …]
/PHP-8.1/ext/spl/tests/
H A DSplFileObject_fputcsv_variation13.phpt2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars
7 of two chars is provided */
9 echo "*** Testing fputcsv() : with default enclosure & delimiter of two chars ***\n";
29 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
H A DSplFileObject_fputcsv_variation14.phpt2 Test fputcsv() : usage variations - with enclosure & delimiter of two chars
7 of two chars is provided and file is opened in read only mode */
9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode …
29 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
/PHP-8.1/ext/mbstring/tests/
H A Dmbregex_stack_limit2.phpt15 function mb_trim( $string, $chars = "", $chars_array = array() )
17 …for( $x=0; $x<iconv_strlen( $chars ); $x++ ) $chars_array[] = preg_quote( iconv_substr( $chars, $x…
/PHP-8.1/ext/xmlwriter/tests/
H A D011.phpt18 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
29 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_010.phpt19 $xw->writeElement('chars', "special characters: <>\"'&");
30 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A D012.phpt18 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
31 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_011.phpt19 $xw->writeElement('chars', "special characters: <>\"'&");
32 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A D007.phpt21 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
32 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_007.phpt22 $xw->writeElement('chars', "special characters: <>\"'&");
33 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
/PHP-8.1/ext/reflection/tests/
H A DReflectionClass_export_basic1.phpt11 $e = "15 chars long -",
19 define('K', "16 chars long --");
55 Parameter #4 [ <optional> $e = '15 chars long -' ]

Completed in 71 milliseconds

12345678