Home
last modified time | relevance | path

Searched refs:eregi (Results 1 – 15 of 15) sorted by relevance

/PHP-5.4/ext/ereg/tests/
H A Deregi_error_002.phpt19 var_dump(eregi("", "hello"));
20 var_dump(eregi("c(d", "hello"));
21 var_dump(eregi("a[b", "hello"));
22 var_dump(eregi("c(d", "hello"));
23 var_dump(eregi("*", "hello"));
24 var_dump(eregi("+", "hello"));
25 var_dump(eregi("?", "hello"));
28 var_dump(eregi("h|", "hello"));
29 var_dump(eregi("h{0}", "hello"));
31 var_dump(eregi('[a-c-e]', 'd'));
[all …]
H A Deregi_variation_001.phpt2 Test eregi() function : usage variations - unexpected type arg 1
17 echo "*** Testing eregi() : usage variations ***\n";
84 *** Testing eregi() : usage variations ***
156 Error: 2 - eregi(): REG_EMPTY, %s(75)
161 Error: 2 - eregi(): REG_EMPTY, %s(75)
170 Error: 2 - eregi(): REG_EMPTY, %s(75)
179 Error: 2 - eregi(): REG_EMPTY, %s(75)
184 Error: 2 - eregi(): REG_EMPTY, %s(75)
189 Error: 2 - eregi(): REG_EMPTY, %s(75)
201 Error: 2 - eregi(): REG_EMPTY, %s(75)
[all …]
H A Deregi_variation_002.phpt2 Test eregi() function : usage variations - unexpected type arg 2
16 echo "*** Testing eregi() : usage variations ***\n";
83 *** Testing eregi() : usage variations ***
88 Error: 8192 - Function eregi() is deprecated, %s(74)
92 Error: 8192 - Function eregi() is deprecated, %s(74)
96 Error: 8192 - Function eregi() is deprecated, %s(74)
100 Error: 8192 - Function eregi() is deprecated, %s(74)
104 Error: 8192 - Function eregi() is deprecated, %s(74)
108 Error: 8192 - Function eregi() is deprecated, %s(74)
112 Error: 8192 - Function eregi() is deprecated, %s(74)
[all …]
H A Deregi_error_001.phpt2 Test eregi() function : error conditions - wrong number of args
15 echo "*** Testing eregi() : error conditions ***\n";
18 //Test eregi with one more than the expected number of arguments
24 var_dump( eregi($pattern, $string, $registers, $extra_arg) );
26 // Testing eregi with one less than the expected number of arguments
29 var_dump( eregi($pattern) );
34 *** Testing eregi() : error conditions ***
36 -- Testing eregi() function with more than expected no. of arguments --
38 Deprecated: Function eregi() is deprecated in %s on line %d
40 Warning: eregi() expects at most 3 parameters, 4 given in %s on line %d
[all …]
H A Deregi_basic_004.phpt2 Test eregi() function : basic functionality - a few non-matches
13 var_dump(eregi('[A-Z]', '0', $regs));
14 var_dump(eregi('(a){4}', 'aaa', $regs));
15 var_dump(eregi('^a', 'ba', $regs));
16 var_dump(eregi('b$', 'ba', $regs));
17 var_dump(eregi('[:alpha:]', 'x', $regs));
25 Deprecated: Function eregi() is deprecated in %s on line %d
28 Deprecated: Function eregi() is deprecated in %s on line %d
31 Deprecated: Function eregi() is deprecated in %s on line %d
34 Deprecated: Function eregi() is deprecated in %s on line %d
[all …]
H A Deregi_basic_002.phpt2 Test eregi() function : basic functionality (without $regs)
15 echo "*** Testing eregi() : basic functionality ***\n";
22 var_dump(eregi($pattern, $string));
28 *** Testing eregi() : basic functionality ***
31 Deprecated: Function eregi() is deprecated in %s on line %d
35 Deprecated: Function eregi() is deprecated in %s on line %d
39 Deprecated: Function eregi() is deprecated in %s on line %d
43 Deprecated: Function eregi() is deprecated in %s on line %d
47 Deprecated: Function eregi() is deprecated in %s on line %d
51 Deprecated: Function eregi() is deprecated in %s on line %d
[all …]
H A Deregi_variation_003.phpt16 echo "*** Testing eregi() : usage variations ***\n";
74 var_dump( eregi($pattern, $string, $value) );
81 *** Testing eregi() : usage variations ***
86 Error: 8192 - Function eregi() is deprecated, %s(71)
96 Error: 8192 - Function eregi() is deprecated, %s(71)
106 Error: 8192 - Function eregi() is deprecated, %s(71)
116 Error: 8192 - Function eregi() is deprecated, %s(71)
126 Error: 8192 - Function eregi() is deprecated, %s(71)
136 Error: 8192 - Function eregi() is deprecated, %s(71)
146 Error: 8192 - Function eregi() is deprecated, %s(71)
[all …]
H A Deregi_basic_001.phpt2 Test eregi() function : basic functionality (with $regs)
15 echo "*** Testing eregi() : basic functionality ***\n";
22 var_dump(eregi($pattern, $string, $regs));
29 *** Testing eregi() : basic functionality ***
32 Deprecated: Function eregi() is deprecated in %s on line %d
44 Deprecated: Function eregi() is deprecated in %s on line %d
54 Deprecated: Function eregi() is deprecated in %s on line %d
64 Deprecated: Function eregi() is deprecated in %s on line %d
72 Deprecated: Function eregi() is deprecated in %s on line %d
90 Deprecated: Function eregi() is deprecated in %s on line %d
[all …]
H A Deregi_basic.phpt2 Test eregi() function : basic functionality - confirm case insensitivity
5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
12 * Test basic functionality of eregi()
15 echo "*** Testing eregi() : basic functionality ***\n";
22 var_dump(eregi('words', $string, $match1));
25 var_dump(eregi('[[:lower:]]+[[:space:]]case', $string, $match2)); //character class lower should j…
30 *** Testing eregi() : basic functionality ***
32 Deprecated: Function eregi() is deprecated in %s on line %d
39 Deprecated: Function eregi() is deprecated in %s on line %d
H A Deregi_basic_003.phpt2 Test eregi() function : basic functionality - long RE
5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
15 var_dump(eregi(str_repeat('(.)', 2048), str_repeat('x', 2048)));
16 var_dump(eregi(str_repeat('(.)', 2048), str_repeat('x', 2048), $regs));
22 Deprecated: Function eregi() is deprecated in %s on line %d
25 Deprecated: Function eregi() is deprecated in %s on line %d
H A Deregi_variation_004.phpt2 Test eregi() function : usage variations - pass non-variable as arg 3, which is pass-by-ref.
5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
11 var_dump(eregi('l{2}', 'hello', str_repeat('x',1)));
17 Deprecated: Function eregi() is deprecated in %s on line %d
/PHP-5.4/ext/ereg/
H A Dphp_ereg.h41 PHP_FUNCTION(eregi);
H A Dereg.c57 PHP_DEP_FE(eregi, arginfo_ereg)
395 PHP_FUNCTION(eregi) in PHP_FUNCTION() argument
/PHP-5.4/
H A Dserver-tests.php1214 if (eregi("^skip", $output)){
1220 if (eregi("^info", $output)) {
/PHP-5.4/ext/mbstring/
H A DREADME_PHP3-i18n-ja673 mb version of ereg() and eregi()

Completed in 36 milliseconds