Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 604) sorted by relevance

12345678910>>...25

/PHP-7.1/
H A D.gitattributes48 /ext/standard/tests/strings/bug26817.phpt -crlf
49 /ext/standard/tests/strings/bug26973.phpt -crlf
50 /ext/standard/tests/strings/bug27457.phpt -crlf
51 /ext/standard/tests/strings/bug28386.phpt -crlf
52 /ext/standard/tests/strings/bug37262.phpt -crlf
53 /ext/standard/tests/strings/bug40637.phpt -crlf
54 /ext/standard/tests/strings/bug40915.phpt -crlf
55 /ext/standard/tests/strings/bug61374.phpt -crlf
74 /ext/standard/tests/strings/rtrim.phpt -crlf
78 /ext/standard/tests/strings/soundex.phpt -crlf
[all …]
/PHP-7.1/ext/standard/tests/strings/
H A Dstrncasecmp_variation9.phpt2 Test strncasecmp() function: usage variations - heredoc strings
10 /* Test strncasecmp() function with here-doc strings for 'str1', 'str2' */
12 echo "*** Test strncasecmp() function: with here-doc strings ***\n";
58 $strings = array(
67 /* loop through to compare the strings */
68 $index2 = count($strings);
69 for($index1 = 0; $index1 < count($strings); $index1++) {
71 var_dump( strncasecmp( $strings[$index1], $strings[$index1], strlen($strings[$index1]) ) );
72 var_dump( strncasecmp( $strings[$index1], $strings[$index2], strlen($strings[$index1]) ) );
77 *** Test strncasecmp() function: with here-doc strings ***
H A Dstrncasecmp_variation8.phpt2 Test strncasecmp() function: usage variations - single quoted strings
10 /* Test strncasecmp() function with various single quoted strings for 'str1', 'str2' */
12 echo "*** Test strncasecmp() function: with single quoted strings ***\n";
13 $strings = array(
21 for($index1 = 0; $index1 < count($strings); $index1++) {
23 for($index2 = 0; $index2 < count($strings); $index2++) {
24 … var_dump( strncasecmp( $strings[$index1], $strings[$index2], (strlen($strings[$index1]) + 1) ) );
31 \*\*\* Test strncasecmp\(\) function: with single quoted strings \*\*\*
H A Dstrncmp_variation8.phpt2 Test strncmp() function: usage variations - single quoted strings
10 /* Test strncmp() function with single quoted strings for 'str1', 'str2' */
12 echo "*** Test strncmp() function: with single quoted strings ***\n";
13 $strings = array(
21 for($index1 = 0; $index1 < count($strings); $index1++) {
23 for($index2 = 0; $index2 < count($strings); $index2++) {
24 var_dump( strncmp( $strings[$index1], $strings[$index2], (strlen($strings[$index1]) + 1) ) );
31 \*\*\* Test strncmp\(\) function: with single quoted strings \*\*\*
H A Dstrncmp_variation2.phpt2 Test strncmp() function: usage variations - double quoted strings
10 /* Test strncmp() function with double quoted strings for 'str1', 'str2' */
12 echo "*** Test strncmp() function: with double quoted strings ***\n";
13 $strings = array(
22 for($index1 = 0; $index1 < count($strings); $index1++) {
24 for($index2 = 0; $index2 < count($strings); $index2++) {
25 var_dump( strncmp( $strings[$index1], $strings[$index2], (strlen($strings[$index1]) + 1) ) );
32 \*\*\* Test strncmp\(\) function: with double quoted strings \*\*\*
H A Dstrncasecmp_variation2.phpt2 Test strncasecmp() function: usage variations - double quoted strings
10 /* Test strncasecmp() function with various double quoted strings for 'str1', 'str2' */
12 echo "*** Test strncasecmp() function: with double quoted strings ***\n";
13 $strings = array(
22 for($index1 = 0; $index1 < count($strings); $index1++) {
24 for($index2 = 0; $index2 < count($strings); $index2++) {
25 … var_dump( strncasecmp( $strings[$index1], $strings[$index2], (strlen($strings[$index1]) + 1) ) );
32 \*\*\* Test strncasecmp\(\) function: with double quoted strings \*\*\*
H A Dstrrev_variation1.phpt2 Test strrev() function : usage variations - double quoted strings
15 $strings = array(
16 //strings containing escape chars
25 //polyndrome strings
29 //numeric + strings
36 //concatenated strings
41 //strings containing white spaces
47 //strings containing quotes
51 //special chars in strings
61 for( $index = 0; $index < count($strings); $index++ ) {
[all …]
H A Dstrncmp_variation9.phpt2 Test strncmp() function: usage variations - different inputs(heredoc strings)
10 /* Test strncmp() function with different strings for 'str1', 'str2' and considering case sensitive…
12 echo "*** Test strncmp() function: with different input strings ***\n";
41 $strings = array(
49 for($index1 = 0; $index1 < count($strings); $index1++) {
50 var_dump( strncmp( $strings[$index1], $strings[$index1], strlen($strings[$index1]) ) );
56 *** Test strncmp() function: with different input strings ***
H A Dstrrev_variation2.phpt2 Test strrev() function : usage variations - single quoted strings
15 $strings = array(
16 //strings containing escape chars
25 //polyndrome strings
29 //numeric + strings
36 //concatenated strings
41 //strings containing white spaces
47 //strings containing quotes
61 for( $index = 0; $index < count($strings); $index++ ) {
63 var_dump( strrev($strings[$index]) );
[all …]
H A Dstrripos_variation3.phpt14 echo "*** Testing strripos() function: with heredoc strings ***\n";
22 echo "\n-- Multi line strings with +ve offsets -- \n";
27 echo "\n-- Multi line strings with +ve offsets -- \n";
32 echo "\n-- Multi line strings with no offset -- \n";
41 *** Testing strripos() function: with heredoc strings ***
44 -- Multi line strings with +ve offsets --
49 -- Multi line strings with +ve offsets --
54 -- Multi line strings with no offset --
H A Dstrtolower.phpt34 echo "*** Testing strlower() with basic strings ***\n";
38 echo "\n*** Testing strtolower() with various strings ***";
39 /* strings to pass strtolower() */
40 $strings = array (
55 foreach ($strings as $string) {
63 echo "strings are same, with Case Insensitive\n";
65 echo "strings are not same\n";
203 *** Testing strlower() with basic strings ***
207 *** Testing strtolower() with various strings ***
240 *** Testing strtolower() with two different case strings ***
[all …]
H A Dstrtoupper1.phpt34 echo "\n*** Testing strtoupper() with basic strings ***\n";
38 echo "\n*** Testing strtoupper() with various strings ***";
39 /* strings to pass strtoupper() */
40 $strings = array (
55 foreach ($strings as $string) {
63 echo "strings are same, with Case Insensitive\n";
65 echo "strings are not same\n";
204 *** Testing strtoupper() with basic strings ***
208 *** Testing strtoupper() with various strings ***
241 *** Testing strtoupper() with two different case strings ***
[all …]
H A Dstrrev_variation3.phpt2 Test strrev() function : usage variations - heredoc strings
10 /* Testing strrev() function with heredoc strings for 'str' */
12 echo "*** Testing strrev() function: with heredoc strings ***\n";
44 $strings = array(
54 for( $index = 0; $index < count($strings); $index++ ) {
56 var_dump( strrev($strings[$index]) );
63 *** Testing strrev() function: with heredoc strings ***
H A Dnl2br_variation1.phpt2 Test nl2br() function : usage variations - double quoted strings for 'str' argument
10 /* Test nl2br() function by passing double quoted strings containing various
16 $strings = array(
17 //new line chars embedded in strings
39 //loop through $strings array to test nl2br() function with each element
41 foreach( $strings as $str ){
H A Dconvert_uudecode_basic.phpt14 $strings = array (
16 //double quoted strings
24 //single quoted strings
32 // loop through with each element of the $strings array to test convert_uudecode() function
34 foreach($strings as $string) {
/PHP-7.1/ext/standard/tests/array/
H A Darray_diff_variation5.phpt13 * Test how array_diff compares integers, floats and strings
28 print "-- Compare integers and strings containing an integers: --\n";
32 print "-- Compare integers and strings containing floats: --\n";
36 print "-- Compare floats and strings containing integers: --\n";
41 print "-- Compare floats and strings containing floats: --\n";
45 print "-- Compare strings containing integers and strings containing floats: --\n";
58 -- Compare integers and strings containing an integers: --
63 -- Compare integers and strings containing floats: --
80 -- Compare floats and strings containing integers: --
85 -- Compare floats and strings containing floats: --
[all …]
H A Darray_intersect_uassoc_variation7.phpt2 Test array_intersect_uassoc() function : usage variation - Intersection of strings containing integ…
26 echo "\n-- Result of strings containing integers intersection --\n";
29 echo "\n-- Result of strings containing floating points intersection --\n";
32 echo "\n-- Result of strings containing integers and strings containing floating points intersectio…
39 -- Result of strings containing integers intersection --
45 -- Result of strings containing floating points intersection --
51 -- Result of strings containing integers and strings containing floating points intersection --
H A Darray_intersect_ukey_variation7.phpt2 Test array_intersect_ukey() function : usage variation - Intersection of strings containing integer…
27 echo "\n-- Result of strings containing integers intersection --\n";
30 echo "\n-- Result of strings containing floating points intersection --\n";
33 echo "\n-- Result of strings containing integers and strings containing floating points intersectio…
40 -- Result of strings containing integers intersection --
48 -- Result of strings containing floating points intersection --
56 -- Result of strings containing integers and strings containing floating points intersection --
H A Dshuffle_variation5.phpt2 Test shuffle() function : usage variation - arrays with diff heredoc strings
11 * Test behaviour of shuffle() when an array of heredoc strings is passed to
17 // defining different heredoc strings
45 // defining array with values as heredoc strings
55 // defining array with keys as heredoc strings
65 // test shuffle() with array containing heredoc strings as values
66 echo "\n-- with array of heredoc strings --\n";
71 // test shuffle() with array containing heredoc strings as its keys
72 echo "\n-- with array having heredoc strings as keys --\n";
82 -- with array of heredoc strings --
[all …]
H A Darray_diff_assoc_variation5.phpt2 Test array_diff_assoc() function : usage variations - compare integers, floats and strings
25 echo "-- Result of comparing integers and strings containing an integers : --\n";
29 echo "-- Result of comparing integers and strings containing floating points : --\n";
33 echo "-- Result of comparing floating points and strings containing integers : --\n";
37 echo "-- Result of comparing floating points and strings containing floating point: --\n";
41 echo "-- Result of comparing strings containing integers and strings containing floating points : -…
61 -- Result of comparing integers and strings containing an integers : --
70 -- Result of comparing integers and strings containing floating points : --
91 -- Result of comparing floating points and strings containing integers : --
100 -- Result of comparing floating points and strings containing floating point: --
[all …]
H A Darray_diff_uassoc_variation7.phpt2 Test array_diff_uassoc() function : usage variation - Comparing strings containing integers and flo…
25 echo "\n-- Result of comparing strings containing integers and strings containing floating points -…
34 -- Result of comparing strings containing integers and strings containing floating points --
H A Darray_diff_basic.phpt26 //Test indexed array with strings as elements
30 echo "-- Test indexed array with strings as elements --\n";
34 //Test associative array with strings as keys and integers as elements
38 echo "-- Test associative array with strings as keys and integers as elements --\n";
42 //Test associative array with strings as keys and elements
46 echo "-- Test associative array with strings as keys and integers as elements --\n";
70 -- Test indexed array with strings as elements --
83 -- Test associative array with strings as keys and integers as elements --
96 -- Test associative array with strings as keys and integers as elements --
H A Darray_intersect_uassoc_variation6.phpt2 …array_intersect_uassoc() function : usage variation - Intersection of floating points with strings.
25 echo "\n-- Result of floating points and strings containing integers intersection --\n";
28 echo "\n-- Result of floating points and strings containing floating point intersection --\n";
35 -- Result of floating points and strings containing integers intersection --
43 -- Result of floating points and strings containing floating point intersection --
H A Darray_intersect_ukey_variation6.phpt2 …t array_intersect_ukey() function : usage variation - Intersection of floating points with strings.
26 echo "\n-- Result of floating points and strings containing integers intersection --\n";
29 echo "\n-- Result of floating points and strings containing floating point intersection --\n";
36 -- Result of floating points and strings containing integers intersection --
44 -- Result of floating points and strings containing floating point intersection --
/PHP-7.1/ext/standard/tests/general_functions/
H A Dvar_export_basic4.phpt2 Test var_export() function with valid strings
12 echo "*** Testing var_export() with valid strings ***\n";
33 /* Loop to check for above strings with var_export() */
34 echo "\n*** Output for strings ***\n";
48 *** Testing var_export() with valid strings ***
50 *** Output for strings ***

Completed in 42 milliseconds

12345678910>>...25