Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 70) sorted by relevance

123

/PHP-5.5/ext/ereg/tests/
H A Dsplit_error_002.phpt19 var_dump(split("", "hello"));
20 var_dump(split("c(d", "hello"));
21 var_dump(split("a[b", "hello"));
22 var_dump(split("c(d", "hello"));
23 var_dump(split("*", "hello"));
24 var_dump(split("+", "hello"));
25 var_dump(split("?", "hello"));
28 var_dump(split("h|", "hello"));
29 var_dump(split("h{0}", "hello"));
31 var_dump(split('[a-c-e]', 'd'));
[all …]
H A Dsplit_variation_001.phpt16 echo "*** Testing split() : usage variations ***\n";
77 var_dump( split($value, $string, $limit) );
83 *** Testing split() : usage variations ***
188 Error: 2 - split(): REG_EMPTY, %s(74)
193 Error: 2 - split(): REG_EMPTY, %s(74)
211 Error: 2 - split(): REG_EMPTY, %s(74)
229 Error: 2 - split(): REG_EMPTY, %s(74)
234 Error: 2 - split(): REG_EMPTY, %s(74)
239 Error: 2 - split(): REG_EMPTY, %s(74)
250 Error: 2 - split(): REG_EMPTY, %s(74)
[all …]
H A Dsplit_basic_003.phpt2 Test split() function : basic functionality - a few non-matches
6 * Description: split string into array by regular expression
13 var_dump(split('A', '-- a --'));
14 var_dump(split('[A-Z]', '-- 0 --'));
15 var_dump(split('(a){4}', '--- aaa ---'));
16 var_dump(split('^a', '--- ba ---'));
17 var_dump(split('b$', '--- ba ---'));
18 var_dump(split('[:alpha:]', '--- x ---'));
24 Deprecated: Function split() is deprecated in %s on line %d
30 Deprecated: Function split() is deprecated in %s on line %d
[all …]
H A Dsplit_variation_002.phpt16 echo "*** Testing split() : usage variations ***\n";
77 var_dump( split($pattern, $value, $limit) );
83 *** Testing split() : usage variations ***
88 Error: 8192 - Function split() is deprecated, %s(74)
95 Error: 8192 - Function split() is deprecated, %s(74)
102 Error: 8192 - Function split() is deprecated, %s(74)
109 Error: 8192 - Function split() is deprecated, %s(74)
116 Error: 8192 - Function split() is deprecated, %s(74)
123 Error: 8192 - Function split() is deprecated, %s(74)
130 Error: 8192 - Function split() is deprecated, %s(74)
[all …]
H A Dsplit_variation_003.phpt18 echo "*** Testing split() : usage variations ***\n";
76 var_dump( split($pattern, $string, $value) );
82 *** Testing split() : usage variations ***
85 Error: 8192 - Function split() is deprecated, %s(73)
100 Error: 8192 - Function split() is deprecated, %s(73)
107 Error: 8192 - Function split() is deprecated, %s(73)
114 Error: 8192 - Function split() is deprecated, %s(73)
122 Error: 8192 - Function split() is deprecated, %s(73)
128 Error: 8192 - Function split() is deprecated, %s(73)
134 Error: 8192 - Function split() is deprecated, %s(73)
[all …]
H A Dsplit_error_001.phpt2 Test split() function : error conditions - wrong number of args
5 /* Prototype : proto array split(string pattern, string string [, int limit])
11 echo "*** Testing split() : error conditions - wrong number of args ***\n";
14 //Test split with one more than the expected number of arguments
20 var_dump( split($pattern, $string, $limit, $extra_arg) );
22 // Testing split with one less than the expected number of arguments
25 var_dump( split($pattern) );
30 *** Testing split() : error conditions - wrong number of args ***
32 -- Testing split() function with more than expected no. of arguments --
34 Deprecated: Function split() is deprecated in %s on line %d
[all …]
H A Dsplit_basic_001.phpt2 Test split() function : basic functionality - test a number of simple split, specifying a limit
12 * Test a number of simple split, specifying a limit
32 Deprecated: Function split() is deprecated in %s on line %d
42 Deprecated: Function split() is deprecated in %s on line %d
44 Warning: split(): Invalid Regular Expression in %s on line %d
49 Deprecated: Function split() is deprecated in %s on line %d
56 Deprecated: Function split() is deprecated in %s on line %d
66 Deprecated: Function split() is deprecated in %s on line %d
76 Deprecated: Function split() is deprecated in %s on line %d
86 Deprecated: Function split() is deprecated in %s on line %d
[all …]
H A Dsplit_basic_002.phpt2 Test split() function : basic functionality - test a number of simple split, without specifying a l…
12 * Test a number of simple split, without specifying a limit
32 Deprecated: Function split() is deprecated in %s on line %d
46 Deprecated: Function split() is deprecated in %s on line %d
48 Warning: split(): Invalid Regular Expression in %s on line %d
53 Deprecated: Function split() is deprecated in %s on line %d
55 Warning: split(): Invalid Regular Expression in %s on line %d
60 Deprecated: Function split() is deprecated in %s on line %d
124 Deprecated: Function split() is deprecated in %s on line %d
138 Deprecated: Function split() is deprecated in %s on line %d
[all …]
H A Dsplit_variation_004.phpt2 Test split() function : usage variations - out-of-range values for limit
5 /* Prototype : proto array split(string pattern, string string [, int limit])
15 echo "*** Testing split() : usage variations ***\n";
19 var_dump(split($pattern, $string, 0));
20 var_dump(split($pattern, $string, -10));
26 *** Testing split() : usage variations ***
27 Error: 8192 - Function split() is deprecated, %s(16)
32 Error: 8192 - Function split() is deprecated, %s(17)
H A D009.phpt2 Test split()
5 $a=split("[[:space:]]","this is a
13 Deprecated: Function split() is deprecated in %s on line %d
/PHP-5.5/ext/mbstring/tests/
H A Dmb_split.phpt18 $result2 = split( $spliton, $str, $count );
41 Deprecated: Function split() is deprecated in %s on line %d
44 Deprecated: Function split() is deprecated in %s on line %d
47 Deprecated: Function split() is deprecated in %s on line %d
50 Deprecated: Function split() is deprecated in %s on line %d
53 Deprecated: Function split() is deprecated in %s on line %d
56 Deprecated: Function split() is deprecated in %s on line %d
59 Deprecated: Function split() is deprecated in %s on line %d
62 Deprecated: Function split() is deprecated in %s on line %d
65 Deprecated: Function split() is deprecated in %s on line %d
/PHP-5.5/ext/dba/libcdb/
H A Dcdb_make.c62 c->split = 0; in cdb_make_start()
174 c->split = (struct cdb_hp *) safe_emalloc(memsize, sizeof(struct cdb_hp), 0); in cdb_make_finish()
175 if (!c->split) in cdb_make_finish()
178 c->hash = c->split + c->numentries; in cdb_make_finish()
189 c->split[--c->start[255 & x->hp[i].h]] = x->hp[i]; in cdb_make_finish()
202 hp = c->split + c->start[i]; in cdb_make_finish()
221 if (c->split) in cdb_make_finish()
222 efree(c->split); in cdb_make_finish()
H A Dcdb_make.h48 struct cdb_hp *split; /* includes space for hash */ member
/PHP-5.5/scripts/dev/
H A Dcheck_parameters.php312 …$split = preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', $txt, -1, PRE…
314 if (count($split) < 2) continue; // no functions defined on this file
315 array_shift($split); // the first part isn't relevant
332 for ($i = 0; $i < count($split); $i+=2) {
335 list($f) = preg_split('@/\*\s*}}}\s*\*/@S', $split[$i+1][0]);
336 check_function(preg_replace('/\s*,\s*/S', '::', $split[$i][0]), $f, $split[$i][1]);
/PHP-5.5/ext/standard/tests/file/
H A Dinclude_streams.phpt34 $split = parse_url($path);
35 if ($split["host"] !== b"GLOBALS" ||
36 empty($split["path"]) ||
37 empty($GLOBALS[substr($split["path"],1)])) {
40 $this->varname = substr($split["path"],1);
/PHP-5.5/ext/ereg/regex/
H A Dsplit.c9 split(string, fields, nfields, sep) in split() function
167 (void) split(buf, fields, MNF, argv[2]);
190 nf = split(string, fields, NF, seps);
290 nf = split(buf, fields, RNF, tests[n].seps); in regress()
/PHP-5.5/tests/classes/
H A Dstatic_properties_004.phpt16 echo "\nBut because this is implemented using PHP references, the reference set can easily be split
33 But because this is implemented using PHP references, the reference set can easily be split:
/PHP-5.5/ext/spl/examples/
H A Dfindfile.inc29 * If path contains ';' then this parameter is split and every
36 $list = split(PATH_SEPARATOR, $path);
H A Dregexfindfile.inc23 * If path contains ';' then this parameter is split and every
/PHP-5.5/ext/standard/tests/array/
H A Dbug44182.phpt2 Bug #44182 (extract EXTR_REFS can fail to split copy-on-write references)
/PHP-5.5/win32/build/
H A Dprojectgen.js8 arr = local.split(" ");
148 var defs = get_define("PHP_DLL_DEF_SOURCES").split(" ");
466 DSP_SOURCES = files.split(" ");
479 DSP_HEADERS = headers.split(" ");
490 newarr = line.split(',');
508 DSP_HEADERS = DSP_HEADERS.concat(libheaders.split(" "));
518 DSP_SOURCES = sources.split(" ");
585 bcflags = (cflags.replace(/\/([A-Z])\s/g, "/$1")).split(" ");
/PHP-5.5/ext/phar/tests/zip/
H A Dcorrupt_010.phpt16 phar error: split archives spanning multiple zips cannot be processed in zip-based phar "%sdisknumb…
/PHP-5.5/ext/ereg/
H A Dphp_ereg.h44 PHP_FUNCTION(split);
/PHP-5.5/ext/standard/tests/streams/
H A Dbug64166_2.phpt2 Bug #64166: quoted-printable-encode stream filter incorrectly discarding whitespace - split reads
/PHP-5.5/ext/standard/tests/strings/
H A Dbug62462.phpt2 Multibyte characters shouldn't be split by soft line break added by quoted_printable_encode - 4 byt…

Completed in 37 milliseconds

123