Home
last modified time | relevance | path

Searched refs:explode (Results 1 – 25 of 103) sorted by relevance

12345

/PHP-7.2/ext/standard/tests/strings/
H A Dexplode.phpt2 explode() function
13 var_dump(@explode("", ""));
14 var_dump(@explode("", NULL));
15 var_dump(@explode(NULL, ""));
16 var_dump(@explode("a", ""));
17 var_dump(@explode("a", "a"));
18 var_dump(@explode("a", NULL));
19 var_dump(@explode(NULL, a));
20 var_dump(@explode("abc", "acb"));
21 var_dump(@explode("somestring", "otherstring"));
[all …]
H A Dexplode_error.phpt2 Test explode() function : error conditions
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() : error conditions ***\n";
13 echo "\n-- Testing explode() function with no arguments --\n";
14 var_dump( explode() );
21 var_dump( explode($delimiter, $string, $limit, $extra_arg) );
26 *** Testing explode() : error conditions ***
28 -- Testing explode() function with no arguments --
30 Warning: explode() expects at least 2 parameters, 0 given in %s on line %d
33 -- Testing explode() function with more than expected no. of arguments --
[all …]
H A Dexplode1.phpt2 Test explode() function
36 var_dump( explode($delimiter, $string, -1) );
37 var_dump( explode($delimiter, $string, 0) );
38 var_dump( explode($delimiter, $string, 1) );
39 var_dump( explode($delimiter, $string, 2) );
71 echo "\n*** Testing explode() with objects ***\n";
78 var_dump( explode("b", $obj) );
83 var_dump( explode(":") );
88 *** Testing explode() for basic operations ***
329 -- Passing limit values 0 and 1 to explode() --
[all …]
H A Dexplode_variation5.phpt2 Test explode() function : usage variations - positive and negative limits
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: positive and negative limits ***\n";
15 var_dump(explode('||', $str, 2));
18 var_dump(explode('||', $str, -1));
21 var_dump(explode('||', "", -1));
25 *** Testing explode() function: positive and negative limits ***
H A Dexplode_variation1.phpt2 Test explode() function : usage variations - test values for $delimiter argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
77 var_dump( explode($delimiter, $string, $limit) );
136 Warning: explode() expects parameter 1 to be string, array given in %s on line %d
140 Warning: explode() expects parameter 1 to be string, array given in %s on line %d
155 Warning: explode(): Empty delimiter in %s on line %d
166 Warning: explode(): Empty delimiter in %s on line %d
170 Warning: explode(): Empty delimiter in %s on line %d
174 Warning: explode(): Empty delimiter in %s on line %d
187 Warning: explode(): Empty delimiter in %s on line %d
[all …]
H A Dexplode_variation4.phpt2 Test explode() function : usage variations - match longer string
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: match longer string ***\n";
14 $pieces = explode(" p", $pizza);
19 *** Testing explode() function: match longer string ***
H A Dexplode_variation2.phpt2 Test explode() function : usage variations - test values for $string argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: with unexpected inputs for 'string' argument ***\n";
71 // loop through with each element of the $strings array to test explode() function
77 var_dump( explode($delimiter, $string, $limit) );
86 *** Testing explode() function: with unexpected inputs for 'string' argument ***
134 Warning: explode() expects parameter 2 to be string, array given in %s on line %d
138 Warning: explode() expects parameter 2 to be string, array given in %s on line %d
142 Warning: explode() expects parameter 2 to be string, array given in %s on line %d
183 Warning: explode() expects parameter 2 to be string, resource given in %s on line %d
H A Dexplode_variation3.phpt2 Test explode() function : usage variations - test values for $limit argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: with unexpected inputs for 'limit' argument ***\n";
71 // loop through with each element of the $limits array to test explode() function
77 var_dump( explode($delimiter, $string, $limit) );
86 *** Testing explode() function: with unexpected inputs for 'limit' argument ***
180 Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
184 Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
188 Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
222 Warning: explode() expects parameter 3 to be integer, object given in %s on line %d
[all …]
H A Dexplode_variation7.phpt2 Test explode() function : usage variations - when $string length is greater than
9 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
14 var_dump(count(explode('|', implode(range(1,65),'|'), -1)));
H A Dexplode_variation6.phpt2 Test explode() function : usage variations - misc tests
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
11 echo "*** Testing explode() function: misc tests ***\n";
35 $e = explode($delim, $string, $limit);
44 *** Testing explode() function: misc tests ***
H A Dexplode_bug.phpt8 $res = explode(str_repeat("A",145999999),1);
/PHP-7.2/ext/standard/tests/mail/
H A Dezmlm_hash_variation1.phpt2 Test explode() function : usage variations - test values for $delimiter argument
6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
77 var_dump( explode($delimiter, $string, $limit) );
136 Warning: explode() expects parameter 1 to be string, array given in %s on line %d
140 Warning: explode() expects parameter 1 to be string, array given in %s on line %d
155 Warning: explode(): Empty delimiter in %s on line %d
166 Warning: explode(): Empty delimiter in %s on line %d
170 Warning: explode(): Empty delimiter in %s on line %d
174 Warning: explode(): Empty delimiter in %s on line %d
187 Warning: explode(): Empty delimiter in %s on line %d
[all …]
/PHP-7.2/ext/session/tests/
H A D010.phpt2 $session_array = explode(";", session_encode()); should not segfault
12 $session_array = explode(";", @session_encode());
H A D028.phpt2 $session_array = explode(";", session_encode()); should not segfault
12 $session_array = explode(";", @session_encode());
/PHP-7.2/Zend/tests/
H A Dbug55509.phpt20 $tmp = explode(":", $line);
31 $lines = explode("\n",`sysctl -a`);
37 $tmp = explode(":", $line);
50 $freeMemory = explode('=', $s)[1]*1;
H A Dbug51827.phpt19 Warning: explode() expects at least 2 parameters, 0 given in Unknown on line %d
H A Dunexpected_ref_bug.phpt12 $data = call_user_func_array("explode",array(new StdClass(), &$my_var));
/PHP-7.2/ext/pdo_dblib/tests/
H A Dconfig.inc6 $dsn_parts = explode(':', $dsn, 2);
8 foreach (explode(';', $dsn_parts[1]) as $arg) {
9 $arg = explode('=', $arg);
/PHP-7.2/ext/dom/tests/
H A Ddomdocumentload_utilities.php6 $env_array = explode('|', $libxmlOptions);
/PHP-7.2/ext/pdo_mysql/tests/
H A Dbug_50323.phpt22 $parts = explode(';', $dsn);
24 $tmp = explode('=', $v);
/PHP-7.2/ext/standard/tests/general_functions/
H A Dproc_nice_basic-win.phpt25 $t = explode('\\', PHP_BINARY);
44 $t = explode(PHP_EOL, $t);
/PHP-7.2/tests/
H A Dquicktester.inc19 $tests = explode("\n",$tests);
38 list($left,$right) = explode($operator, $test);
/PHP-7.2/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt32 $tab = explode(':', $tmp[$i]);
38 $tab = explode(':', $tmp[$i]);
/PHP-7.2/ext/spl/tests/
H A Darray_018.phpt21 $data = explode("=", "=Foo");
/PHP-7.2/scripts/dev/generate-phpt/src/setup/
H A DgtOptionalSections.php17 $options = explode(':', $commandLineOptions->getOption('s'));

Completed in 39 milliseconds

12345