/PHP-7.2/ext/standard/tests/strings/ |
H A D | explode.phpt | 2 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 D | explode_error.phpt | 2 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 D | explode1.phpt | 2 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 D | explode_variation5.phpt | 2 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 D | explode_variation1.phpt | 2 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 D | explode_variation4.phpt | 2 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 D | explode_variation2.phpt | 2 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 D | explode_variation3.phpt | 2 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 D | explode_variation7.phpt | 2 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 D | explode_variation6.phpt | 2 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 D | explode_bug.phpt | 8 $res = explode(str_repeat("A",145999999),1);
|
/PHP-7.2/ext/standard/tests/mail/ |
H A D | ezmlm_hash_variation1.phpt | 2 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 D | 010.phpt | 2 $session_array = explode(";", session_encode()); should not segfault 12 $session_array = explode(";", @session_encode());
|
H A D | 028.phpt | 2 $session_array = explode(";", session_encode()); should not segfault 12 $session_array = explode(";", @session_encode());
|
/PHP-7.2/Zend/tests/ |
H A D | bug55509.phpt | 20 $tmp = explode(":", $line); 31 $lines = explode("\n",`sysctl -a`); 37 $tmp = explode(":", $line); 50 $freeMemory = explode('=', $s)[1]*1;
|
H A D | bug51827.phpt | 19 Warning: explode() expects at least 2 parameters, 0 given in Unknown on line %d
|
H A D | unexpected_ref_bug.phpt | 12 $data = call_user_func_array("explode",array(new StdClass(), &$my_var));
|
/PHP-7.2/ext/pdo_dblib/tests/ |
H A D | config.inc | 6 $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 D | domdocumentload_utilities.php | 6 $env_array = explode('|', $libxmlOptions);
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | bug_50323.phpt | 22 $parts = explode(';', $dsn); 24 $tmp = explode('=', $v);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 25 $t = explode('\\', PHP_BINARY); 44 $t = explode(PHP_EOL, $t);
|
/PHP-7.2/tests/ |
H A D | quicktester.inc | 19 $tests = explode("\n",$tests); 38 list($left,$right) = explode($operator, $test);
|
/PHP-7.2/sapi/fpm/tests/ |
H A D | socket-uds-acl.phpt | 32 $tab = explode(':', $tmp[$i]); 38 $tab = explode(':', $tmp[$i]);
|
/PHP-7.2/ext/spl/tests/ |
H A D | array_018.phpt | 21 $data = explode("=", "=Foo");
|
/PHP-7.2/scripts/dev/generate-phpt/src/setup/ |
H A D | gtOptionalSections.php | 17 $options = explode(':', $commandLineOptions->getOption('s'));
|