Home
last modified time | relevance | path

Searched refs:strings (Results 51 – 75 of 542) sorted by relevance

12345678910>>...22

/php-src/ext/standard/tests/strings/
H A Dchop_variation3.phpt6 * Testing chop() : with heredoc strings
9 echo "*** Testing chop() : with heredoc strings ***\n";
11 // defining different heredoc strings
59 *** Testing chop() : with heredoc strings ***
H A Dcrc32_variation2.phpt2 Test crc32() function : usage variations - single quoted strings
11 * Testing crc32() : with different strings in single quotes passed to the function
14 echo "*** Testing crc32() : with different strings in single quotes ***\n";
16 // defining an array of strings
70 *** Testing crc32() : with different strings in single quotes ***
H A Dstrcspn_variation6.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and…
9 echo "*** Testing strcspn() : with different mask strings ***\n";
12 // defining different heredoc strings
56 // defining array of mask strings
85 *** Testing strcspn() : with different mask strings ***
H A Dstrrpos_variation2.phpt2 Test strrpos() function : usage variations - single quoted strings for 'haystack' & 'needle' argume…
5 /* Test strrpos() function by passing single quoted strings to 'haystack' & 'needle' arguments */
7 echo "*** Testing strrpos() function: with single quoted strings ***\n";
10 //regular strings
70 *** Testing strrpos() function: with single quoted strings ***
H A Dstrspn_variation5.phpt2 Test strspn() function : usage variations - with heredoc strings with default start and len args
13 * Testing strspn() : with different heredoc strings as str argument
16 echo "*** Testing strspn() : with heredoc strings ***\n";
19 // defining different heredoc strings
76 *** Testing strspn() : with heredoc strings ***
H A Dcrc32_variation3.phpt2 Test crc32() function : usage variations - double quoted strings
11 * Testing crc32() : with different strings in double quotes passed to the function
14 echo "*** Testing crc32() : with different strings in double quotes ***\n";
16 // defining an array of strings
72 *** Testing crc32() : with different strings in double quotes ***
H A Dstrcspn_variation5.phpt2 Test strcspn() function : usage variations - with heredoc strings with default start and len args
13 * Testing strcspn() : with different heredoc strings as str argument
16 echo "*** Testing strcspn() : with heredoc strings ***\n";
19 // defining different heredoc strings
76 *** Testing strcspn() : with heredoc strings ***
H A Dstrrpos_variation8.phpt5 /* Test strrpos() function with strings containing multiple occurrences of 'needle' in the 'haystac…
9 echo "*** Testing strrpos() function: strings repetitive chars ***\n";
23 *** Testing strrpos() function: strings repetitive chars ***
H A Dstrspn_variation10.phpt9 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n";
12 // defining different strings
13 $strings = array(
33 // define the array of mask strings
51 foreach($strings as $str) {
62 *** Testing strspn() : with different mask strings and default start and len arguments ***
H A Dbug37244.phpt5 $strings = array(
10 foreach($strings as $string) {
H A Dsprintf_variation53.phpt2 Test sprintf() function : usage variations - with whitespaces in format strings
5 echo "*** Testing sprintf() : with white spaces in format strings ***\n";
31 *** Testing sprintf() : with white spaces in format strings ***
H A Dstrip_tags_variation6.phpt12 $strings = array (
19 //loop through the strings array to check if strip_tags() is binary safe
21 foreach($strings as $value)
H A Dstripos_variation2.phpt2 Test stripos() function : usage variations - single quoted strings for 'haystack' & 'needle' argume…
5 /* Test stripos() function by passing single quoted strings to 'haystack' & 'needle' arguments */
7 echo "*** Testing stripos() function: with single quoted strings ***\n";
10 //regular strings
80 *** Testing stripos() function: with single quoted strings ***
H A Dstrrchr_variation2.phpt2 Test strrchr() function : usage variations - single quoted strings
5 /* Test strrchr() function by passing various single quoted strings to 'haystack' & 'needle' */
7 echo "*** Testing strrchr() function: with various single quoted strings ***";
10 //regular strings
78 *** Testing strrchr() function: with various single quoted strings ***
H A Dstrspn_variation9.phpt2 Test strspn() function : usage variations - different strings with default start and len args
13 * Testing strspn() : with different strings as str argument and default start and len args
19 // defining different strings
21 $strings = array(
46 foreach($strings as $str) {
H A Dchunk_split_variation4.phpt2 Test chunk_split() function : usage variations - different heredoc strings as 'str' argument
6 * Passing different heredoc strings as 'str' argument to the chunk_split()
10 echo "*** Testing chunk_split() : heredoc strings as 'str' argument ***\n";
58 //different heredoc strings for 'str'
82 *** Testing chunk_split() : heredoc strings as 'str' argument ***
H A Dstr_split_variation5.phpt2 Test str_split() function : usage variations - different heredoc strings as 'str' argument
6 * Passing different heredoc strings as 'str' argument to the str_split()
10 echo "*** Testing str_split() : heredoc strings as 'str' argument ***\n";
58 //different heredoc strings for 'str'
82 *** Testing str_split() : heredoc strings as 'str' argument ***
H A Dstrcspn_variation9.phpt2 Test strcspn() function : usage variations - different strings with default start and len args
13 * Testing strcspn() : with different strings as str argument and default start and len args
19 // defining different strings
21 $strings = array(
46 foreach($strings as $str) {
H A Dstripos_variation1.phpt2 Test stripos() function : usage variations - double quoted strings for 'haystack' & 'needle' argume…
5 /* Test stripos() function by passing double quoted strings for 'haystack' & 'needle' arguments */
7 echo "*** Testing stripos() function: with double quoted strings ***\n";
10 //regular strings
78 *** Testing stripos() function: with double quoted strings ***
H A Dstrip_tags_variation8.phpt11 $strings = "<html>hello</html> \tworld... <p>strip_tags_test\v\f</p><?php hello\t wo\rrld?>";
24 //loop through the various elements of strings array to test strip_tags() functionality
29 var_dump( strip_tags($strings, $string_value) );
/php-src/docs/source/core/data-structures/
H A Dzend_string.rst5 In C, strings are represented as sequential lists of characters, ``char*`` or ``char[]``. The end of
15 the strings length, along with some other fields. It looks as follows:
32 to be expanded arbitrarily. In this case, the size of ``zend_string`` depends on the strings length,
34 enough bytes to the allocation to hold the strings content.
65 new strings.
106 strings.
157 There are various functions to compare strings. The ``zend_string_equals`` function compares two
164 Interned strings
167 Programs use some strings many times. For example, if your program declares a class called
169 within your program. Instead, when repeated strings are expected, php-src uses a technique called
[all …]
/php-src/ext/standard/tests/array/
H A Dshuffle_basic1.phpt17 // Initialise the array with strings
33 /* Testing shuffle() function with array of strings */
35 // printing the input array with strings before the shuffle operation
36 echo "\n-- input array of strings before shuffle() function is applied --\n";
39 // applying shuffle() function on the input array of strings
98 -- input array of strings before shuffle() function is applied --
H A Dusort_variation5.phpt24 // Different heredoc strings to be sorted
41 // Single quoted strings
52 // Double quoted strings
63 // Heredoc strings
/php-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt2 Acceptance of whitespace in numeric strings
6 $strings = [
37 foreach ($strings as $string) {
/php-src/ext/zend_test/tests/
H A Dstrings_marked_as_utf8.phpt2 Check that strings are marked as valid UTF-8
7 echo "Empty strings:\n";
11 echo "Known strings:\n";
31 echo "Concatenation known valid UTF-8 strings in variables:\n";
38 echo "Multiple concatenation known valid UTF-8 strings in variables:\n";
154 Empty strings:
156 Known strings:
166 Concatenation known valid UTF-8 strings in variables:
169 Multiple concatenation known valid UTF-8 strings in variables:

Completed in 27 milliseconds

12345678910>>...22