Home
last modified time | relevance | path

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

12345678

/PHP-7.4/ext/standard/tests/strings/
H A Dstrrchr_variation4.phpt2 Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack'
10 /* Test strrchr() function by passing heredoc string containing special chars for haystack
18 chars.
44 chars."
46 chars."
48 chars."
50 chars."
52 chars."
54 chars."
57 chars."
H A Dstripos_variation4.phpt2 Test stripos() function : usage variations - heredoc string containing special chars for 'haystack'…
10 /* Test stripos() function by passing heredoc string containing special chars for haystack
15 echo "-- With heredoc string containing special chars --\n";
19 chars.
33 -- With heredoc string containing special chars --
H A Dstrripos_variation4.phpt2 Test strripos() function : usage variations - heredoc string containing special chars for 'haystack…
10 /* Test strripos() function by passing heredoc string containing special chars for haystack
15 echo "-- With heredoc string containing special chars --\n";
19 chars.
33 -- With heredoc string containing special chars --
H A Dstrrpos_variation4.phpt2 Test strrpos() function : usage variations - heredoc string containing special chars for 'haystack'…
10 /* Test strrpos() function by passing heredoc string containing special chars for haystack
15 echo "-- With heredoc string containing special chars --\n";
19 chars.
33 -- With heredoc string containing special chars --
H A Dfprintf_variation_004.phpt14 fprintf($fp, "\n*** Testing fprintf() for chars ***\n");
29 *** Testing fprintf() for chars ***
H A Dstrtr_variation2.phpt2 Test strtr() function : usage variations - string containing special chars for 'str' argument
13 * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments
16 echo "*** Testing strtr() : string containing special chars for 'str' arg ***\n";
64 *** Testing strtr() : string containing special chars for 'str' arg ***
H A Dstrrpos_variation8.phpt2 Test strrpos() function : usage variations - repetitive chars for 'haystack' argument
14 echo "*** Testing strrpos() function: strings repetitive chars ***\n";
28 *** Testing strrpos() function: strings repetitive chars ***
H A Ducwords_variation3.phpt16 // different strings containing regular chars and special chars
28 // using quote chars in sentence
40 //using special chars in sentence
45 //only special chars
H A Dstrip_tags_variation4.phpt28 "<nnn>I am a quoted (\") string with special chars like \$,\!,\@,\%,\&</nnn>",
29 '<nnn>I am a quoted (\") string with special chars like \$,\!,\@,\%,\&</nnn>',
69 string(62) "I am a quoted (") string with special chars like $,\!,\@,\%,\&"
71 string(64) "I am a quoted (\") string with special chars like \$,\!,\@,\%,\&"
/PHP-7.4/ext/pdo_oci/tests/
H A Dbug60994.phpt47 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
64 $string3 = 'abc' . str_repeat('Җ', 8187) . 'xyz'; // 8193 chars total is when it breaks
81 $string4 = 'abc' . str_repeat('の', 8187) . 'xyz'; // 8193 chars total is when it breaks
99 size of string1 is 1000006 bytes, 1000006 chars.
100 size of stream1 is 1000006 bytes, 1000006 chars.
105 size of string2 is 16380 bytes, 8193 chars.
106 size of stream2 is 16380 bytes, 8193 chars.
111 size of string3 is 16380 bytes, 8193 chars.
112 size of stream3 is 16380 bytes, 8193 chars.
117 size of string4 is 24567 bytes, 8193 chars.
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dfgets_variation3.phpt52 var_dump( fgets($file_handle, 23) ); // expected: 22 chars
76 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
87 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
99 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
111 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
124 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
135 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
147 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
159 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
172 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
[all …]
H A Dfgets_basic.phpt38 var_dump( fgets($file_handle, 23) ); // expected: 22 chars
61 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
71 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
82 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
93 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
105 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
115 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
126 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
137 -- fgets() with length = 23, Expected: 22 chars, file pointer at 0 --
149 -- 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
10 …st copy(): Trying to copy the source file which is given with the combination of wild-card chars */
14 echo "*** Test copy() function: With source file names containing wild-card chars ***\n";
54 *** Test copy() function: With source file names containing wild-card chars ***
/PHP-7.4/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";
25 *** 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 …
25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
/PHP-7.4/ext/oci8/tests/
H A Dbug70700.phpt60 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL;
91 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL;
122 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL;
159 size of string1 is 1000006 bytes, 1000006 chars.
160 size of stream1a is 1000006 bytes, 1000006 chars.
165 size of string2 is 8194 bytes, 4100 chars.
166 size of stream2a is 8194 bytes, 4100 chars.
171 size of string3 is 8194 bytes, 4100 chars.
172 size of stream3a is 8194 bytes, 4100 chars.
177 size of string4 is 8193 bytes, 2735 chars.
[all …]
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_export_basic1.phpt11 $e = "15 chars long -",
19 define('K', "16 chars long --");
54 Parameter #3 [ <optional> $d = '16 chars long -...' ]
55 Parameter #4 [ <optional> $e = '15 chars long -' ]
/PHP-7.4/ext/xmlwriter/tests/
H A D011.phpt20 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
31 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_010.phpt21 $xw->writeElement('chars', "special characters: <>\"'&");
32 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A D012.phpt20 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
33 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_011.phpt21 $xw->writeElement('chars', "special characters: <>\"'&");
34 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A DOO_007.phpt24 $xw->writeElement('chars', "special characters: <>\"'&");
35 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
H A D007.phpt23 xmlwriter_write_element($xw, 'chars', "special characters: <>\"'&");
34 <chars>special characters: &lt;&gt;&quot;'&amp;</chars>
/PHP-7.4/ext/mbstring/tests/
H A Dmbregex_stack_limit2.phpt14 function mb_trim( $string, $chars = "", $chars_array = array() )
16 …for( $x=0; $x<iconv_strlen( $chars ); $x++ ) $chars_array[] = preg_quote( iconv_substr( $chars, $x…
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug47273.phpt20 return 'Test #1 exception with some special chars: Äßö';
24 //throw new SoapFault('Server', 'Test #2 exception with some special chars: Äßö');
25 throw new Exception('Test #2 exception with some special chars: Äßö');
47 …esponse><return xsi:type="xsd:string">Test #1 exception with some special chars: Äßö</return></…
49 …ltcode>Sender</faultcode><faultstring>Test #2 exception with some special chars: Äßö</faultstri…

Completed in 26 milliseconds

12345678