Home
last modified time | relevance | path

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

123

/PHP-7.4/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 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_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_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.4/ext/session/tests/
H A D010.phpt2 $session_array = explode(";", session_encode()); should not segfault
12 $session_array = explode(";", @session_encode());
/PHP-7.4/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.phpt13 $data = call_user_func_array("explode",array(new Test(), &$my_var));
/PHP-7.4/ext/mbstring/ucgendat/
H A Ductest.php22 $lines = explode("\n", $input);
35 $fields = array_map('trim', explode(';', $line));
42 foreach (explode(' ', $strCodes) as $strCode) {
/PHP-7.4/ext/dom/tests/
H A Ddomdocumentload_utilities.inc6 $env_array = explode('|', $libxmlOptions);
/PHP-7.4/tests/
H A Dquicktester.inc19 $tests = explode("\n",$tests);
38 list($left,$right) = explode($operator, $test);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_50323.phpt22 $parts = explode(';', $dsn);
24 $tmp = explode('=', $v);
H A Dmysql_pdo_test.inc59 $parts = explode(';', $dsn);
61 $tmp = explode('=', $v);
109 $parts = explode('.', $version_string);
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_nice_basic-win.phpt25 $t = explode('\\', PHP_BINARY);
44 $t = explode(PHP_EOL, $t);
/PHP-7.4/ext/opcache/tests/
H A Dbug77266.phpt20 $v = explode(':', $value);
/PHP-7.4/ext/spl/tests/
H A Darray_018.phpt21 $data = explode("=", "=Foo");
/PHP-7.4/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt32 $tab = explode(':', $tmp[$i]);
38 $tab = explode(':', $tmp[$i]);
/PHP-7.4/ext/standard/tests/time/
H A D001.phpt18 list($micro,$time)=explode(" ",microtime());
/PHP-7.4/ext/oci8/tests/
H A Derror3.phpt8 $cv = explode('.', oci_client_version());
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug_49985.phpt25 echo trim(current(explode("\n", $e->getMessage())))."\n";
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php187 $lines = explode("\n", file_get_contents($e{'file'}));
330 $lines = explode("\n", file_get_contents($e{'file'}));
426 foreach (explode("\n", $data) as $l) {
/PHP-7.4/ext/standard/tests/array/
H A Dbug34227.phpt60 $arr = explode('a', 'b');

Completed in 36 milliseconds

123