Home
last modified time | relevance | path

Searched refs:spliti (Results 1 – 12 of 12) sorted by relevance

/PHP-5.4/ext/ereg/tests/
H A Dspliti_error_002.phpt19 var_dump(spliti("", "hello"));
20 var_dump(spliti("c(d", "hello"));
21 var_dump(spliti("a[b", "hello"));
22 var_dump(spliti("c(d", "hello"));
23 var_dump(spliti("*", "hello"));
24 var_dump(spliti("+", "hello"));
25 var_dump(spliti("?", "hello"));
28 var_dump(spliti("h|", "hello"));
29 var_dump(spliti("h{0}", "hello"));
31 var_dump(spliti('[a-c-e]', 'd'));
[all …]
H A Dspliti_variation_001.phpt16 echo "*** Testing spliti() : usage variations ***\n";
77 var_dump( spliti($value, $string, $limit) );
83 *** Testing spliti() : usage variations ***
188 Error: 2 - spliti(): REG_EMPTY, %s(74)
193 Error: 2 - spliti(): REG_EMPTY, %s(74)
211 Error: 2 - spliti(): REG_EMPTY, %s(74)
229 Error: 2 - spliti(): REG_EMPTY, %s(74)
234 Error: 2 - spliti(): REG_EMPTY, %s(74)
239 Error: 2 - spliti(): REG_EMPTY, %s(74)
250 Error: 2 - spliti(): REG_EMPTY, %s(74)
[all …]
H A Dspliti_variation_002.phpt16 echo "*** Testing spliti() : usage variations ***\n";
77 var_dump( spliti($pattern, $value, $limit) );
83 *** Testing spliti() : usage variations ***
88 Error: 8192 - Function spliti() is deprecated, %s(74)
95 Error: 8192 - Function spliti() is deprecated, %s(74)
102 Error: 8192 - Function spliti() is deprecated, %s(74)
109 Error: 8192 - Function spliti() is deprecated, %s(74)
116 Error: 8192 - Function spliti() is deprecated, %s(74)
123 Error: 8192 - Function spliti() is deprecated, %s(74)
130 Error: 8192 - Function spliti() is deprecated, %s(74)
[all …]
H A Dspliti_variation_003.phpt18 echo "*** Testing spliti() : usage variations ***\n";
76 var_dump( spliti($pattern, $string, $value) );
82 *** Testing spliti() : usage variations ***
85 Error: 8192 - Function spliti() is deprecated, %s(73)
100 Error: 8192 - Function spliti() is deprecated, %s(73)
107 Error: 8192 - Function spliti() is deprecated, %s(73)
114 Error: 8192 - Function spliti() is deprecated, %s(73)
122 Error: 8192 - Function spliti() is deprecated, %s(73)
128 Error: 8192 - Function spliti() is deprecated, %s(73)
134 Error: 8192 - Function spliti() is deprecated, %s(73)
[all …]
H A Dspliti_error_001.phpt2 Test spliti() function : error conditions - wrong number of args
5 /* Prototype : proto array spliti(string pattern, string string [, int limit])
6 * Description: spliti string into array by regular expression
11 echo "*** Testing spliti() : error conditions - wrong number of args ***\n";
14 //Test spliti with one more than the expected number of arguments
20 var_dump( spliti($pattern, $string, $limit, $extra_arg) );
22 // Testing spliti with one less than the expected number of arguments
25 var_dump( spliti($pattern) );
30 *** Testing spliti() : error conditions - wrong number of args ***
34 Deprecated: Function spliti() is deprecated in %s on line %d
[all …]
H A Dspliti_basic_003.phpt2 Test spliti() function : basic functionality - a few non-matches
6 * Description: spliti string into array by regular expression
13 var_dump(spliti('[A-Z]', '-- 0 --'));
14 var_dump(spliti('(a){4}', '--- aaa ---'));
15 var_dump(spliti('^a', '--- ba ---'));
16 var_dump(spliti('b$', '--- ba ---'));
17 var_dump(spliti('[:alpha:]', '--- x ---'));
23 Deprecated: Function spliti() is deprecated in %s on line %d
29 Deprecated: Function spliti() is deprecated in %s on line %d
35 Deprecated: Function spliti() is deprecated in %s on line %d
[all …]
H A Dspliti_variation_004.phpt2 Test spliti() function : usage variations - out-of-range values for limit
5 /* Prototype : proto array spliti(string pattern, string string [, int limit])
6 * Description: spliti string into array by regular expression
15 echo "*** Testing spliti() : usage variations ***\n";
19 var_dump(spliti($pattern, $string, 0));
20 var_dump(spliti($pattern, $string, -10));
21 var_dump(spliti($pattern, $string, 10E20));
27 *** Testing spliti() : usage variations ***
28 Error: 8192 - Function spliti() is deprecated, %s(16)
33 Error: 8192 - Function spliti() is deprecated, %s(17)
[all …]
H A Dspliti_basic_004.phpt2 Test spliti() function : basic functionality - confirm case insensitivity
5 /* Prototype : proto array spliti(string pattern, string string [, int limit])
6 * Description: spliti string into array by regular expression
13 var_dump(spliti('[a-z]', '--- A ---'));
14 var_dump(spliti('[A-Z]', '--- a ---'));
15 var_dump(spliti('[[:lower:]]', '--- A ---'));
16 var_dump(spliti('[[:upper:]]', '--- a ---'));
21 Deprecated: Function spliti() is deprecated in %s on line %d
29 Deprecated: Function spliti() is deprecated in %s on line %d
37 Deprecated: Function spliti() is deprecated in %s on line %d
[all …]
H A Dspliti_basic_001.phpt2 Test spliti() function : basic functionality - test a number of simple spliti, specifying a limit
6 * Description: spliti string into array by regular expression
12 * Test a number of simple spliti, specifying a limit
32 Deprecated: Function spliti() is deprecated in %s on line %d
42 Deprecated: Function spliti() is deprecated in %s on line %d
44 Warning: spliti(): Invalid Regular Expression in %s on line %d
49 Deprecated: Function spliti() is deprecated in %s on line %d
56 Deprecated: Function spliti() is deprecated in %s on line %d
66 Deprecated: Function spliti() is deprecated in %s on line %d
76 Deprecated: Function spliti() is deprecated in %s on line %d
[all …]
H A Dspliti_basic_002.phpt2 Test spliti() function : basic functionality - test a number of simple spliti, without specifying a…
6 * Description: spliti string into array by regular expression
12 * Test a number of simple spliti, without specifying a limit
32 Deprecated: Function spliti() is deprecated in %s on line %d
46 Deprecated: Function spliti() is deprecated in %s on line %d
48 Warning: spliti(): Invalid Regular Expression in %s on line %d
53 Deprecated: Function spliti() is deprecated in %s on line %d
55 Warning: spliti(): Invalid Regular Expression in %s on line %d
60 Deprecated: Function spliti() is deprecated in %s on line %d
124 Deprecated: Function spliti() is deprecated in %s on line %d
[all …]
/PHP-5.4/ext/ereg/
H A Dphp_ereg.h45 PHP_FUNCTION(spliti);
H A Dereg.c60 PHP_DEP_FE(spliti, arginfo_split)
722 PHP_FUNCTION(spliti) in PHP_FUNCTION() argument

Completed in 26 milliseconds