/php-src/ext/standard/tests/strings/ |
H A D | explode.phpt | 2 explode() function 18 var_dump(explode("", "")); 23 var_dump(explode("", NULL)); 28 var_dump(explode(NULL, "")); 33 var_dump(explode("a", "")); 34 var_dump(explode("a", "a")); 35 var_dump(explode("a", NULL)); 37 var_dump(explode(NULL, "a")); 41 var_dump(explode("abc", "acb")); 42 var_dump(explode("somestring", "otherstring")); [all …]
|
H A D | explode1.phpt | 2 Test explode() function 8 echo "*** Testing explode() for basic operations ***\n"; 31 var_dump( explode($delimiter, $string, -1) ); 36 var_dump( explode($delimiter, $string, 0) ); 41 var_dump( explode($delimiter, $string, 1) ); 46 var_dump( explode($delimiter, $string, 2) ); 81 echo "\n*** Testing explode() with objects ***\n"; 88 var_dump( explode("b", $obj) ); 92 *** Testing explode() for basic operations *** 309 -- 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 echo "*** Testing explode() function: positive and negative limits ***\n"; 10 var_dump(explode('||', $str, 2)); 13 var_dump(explode('||', $str, -1)); 16 var_dump(explode('||', "", -1)); 19 *** Testing explode() function: positive and negative limits ***
|
H A D | explode_variation4.phpt | 2 Test explode() function : usage variations - match longer string 6 echo "*** Testing explode() function: match longer string ***\n"; 9 $pieces = explode(" p", $pizza); 13 *** Testing explode() function: match longer string ***
|
H A D | explode_variation6.phpt | 2 Test explode() function : usage variations - misc tests 6 echo "*** Testing explode() function: misc tests ***\n"; 30 $e = explode($delim, $string, $limit); 38 *** Testing explode() function: misc tests ***
|
H A D | explode_variation7.phpt | 2 Test explode() function : usage variations - when $string length is greater than 9 var_dump(count(explode('|', implode('|', range(1,65)), -1)));
|
H A D | explode_bug.phpt | 8 $res = explode(str_repeat("A",145999999),1);
|
/php-src/ext/session/tests/ |
H A D | 010.phpt | 2 $session_array = explode(";", session_encode()); should not segfault 14 $session_array = explode(";", @session_encode());
|
/php-src/Zend/tests/ |
H A D | bug51827.phpt | 19 Fatal error: Uncaught ArgumentCountError: explode() expects at least 2 arguments, 0 given in [no ac… 21 #0 [internal function]: explode()
|
H A D | bug55509.phpt | 20 $tmp = explode(":", $line); 31 $lines = explode("\n",`sysctl -a`); 37 $tmp = explode(":", $line); 56 $freeMemory = explode('=', trim($s))[1]*1;
|
H A D | unexpected_ref_bug.phpt | 13 $data = call_user_func_array("explode", array(new Test(), &$my_var));
|
/php-src/ext/mbstring/ |
H A D | gen_rare_cp_bitvec.php | 12 foreach (explode("\n", $input) as $line) { 22 $range = explode("\t", $line);
|
/php-src/ext/mbstring/ucgendat/ |
H A D | uctest.php | 22 $lines = explode("\n", $input); 35 $fields = array_map('trim', explode(';', $line)); 42 foreach (explode(' ', $strCodes) as $strCode) {
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | generate_name_perfect_hash_table.php | 9 $array = explode(",\n", $matches[1]); 26 $name = explode(',', $struct_definition)[1];
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug_50323.phpt | 22 $parts = explode(';', $dsn); 24 $tmp = explode('=', $v);
|
/php-src/ext/dom/tests/ |
H A D | domdocumentload_utilities.inc | 6 $env_array = explode('|', $libxmlOptions);
|
H A D | gh12870.inc | 20 $parts = explode(':', $qualifiedName);
|
/php-src/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-src/ext/opcache/tests/ |
H A D | bug77266.phpt | 20 $v = explode(':', $value);
|
/php-src/sapi/fpm/tests/ |
H A D | socket-uds-acl.phpt | 32 $tab = explode(':', $tmp[$i]); 38 $tab = explode(':', $tmp[$i]);
|
/php-src/ext/spl/tests/ |
H A D | array_018.phpt | 21 $data = explode("=", "=Foo");
|
/php-src/ext/pgsql/tests/ |
H A D | gh12763.phpt | 17 $items = explode("\n", file_get_contents($file_name));
|
/php-src/ext/standard/tests/time/ |
H A D | 001.phpt | 18 list($micro,$time)=explode(" ",microtime());
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_debug_mysqlnd_control_string.phpt | 99 $lines = explode("\n", $trace); 115 $lines = explode("\n", $trace); 125 …$lines_all_funcs = explode("\n", try_control_string($link, 't:O,' . $trace_file, $trace_file, 90)); 134 … $lines_trace = explode("\n", try_control_string($link, 't:f:O,' . $trace_file, $trace_file, 100)); 170 $lines_trace = explode("\n", try_control_string($link, $control_string, $trace_file, 110));
|
/php-src/ext/standard/tests/file/ |
H A D | fputcsv_variation18.phpt | 17 fputcsv($fp, explode(',', $v), ',', '"', '/');
|