Home
last modified time | relevance | path

Searched refs:ereg (Results 1 – 25 of 37) sorted by relevance

12

/PHP-5.6/ext/ereg/tests/
H A Dereg_error_002.phpt19 var_dump(ereg("", "hello"));
20 var_dump(ereg("c(d", "hello"));
21 var_dump(ereg("a[b", "hello"));
22 var_dump(ereg("c(d", "hello"));
23 var_dump(ereg("*", "hello"));
24 var_dump(ereg("+", "hello"));
25 var_dump(ereg("?", "hello"));
28 var_dump(ereg("h|", "hello"));
29 var_dump(ereg("h{0}", "hello"));
31 var_dump(ereg('[a-c-e]', 'd'));
[all …]
H A Dereg_variation_001.phpt2 Test ereg() function : usage variations - unexpected type arg 1
17 echo "*** Testing ereg() : usage variations ***\n";
84 *** Testing ereg() : usage variations ***
156 Error: 2 - ereg(): REG_EMPTY, %s(75)
161 Error: 2 - ereg(): REG_EMPTY, %s(75)
170 Error: 2 - ereg(): REG_EMPTY, %s(75)
179 Error: 2 - ereg(): REG_EMPTY, %s(75)
184 Error: 2 - ereg(): REG_EMPTY, %s(75)
189 Error: 2 - ereg(): REG_EMPTY, %s(75)
201 Error: 2 - ereg(): REG_EMPTY, %s(75)
[all …]
H A Dereg_variation_002.phpt2 Test ereg() function : usage variations - unexpected type arg 2
16 echo "*** Testing ereg() : usage variations ***\n";
83 *** Testing ereg() : usage variations ***
88 Error: 8192 - Function ereg() is deprecated, %s(74)
92 Error: 8192 - Function ereg() is deprecated, %s(74)
96 Error: 8192 - Function ereg() is deprecated, %s(74)
100 Error: 8192 - Function ereg() is deprecated, %s(74)
104 Error: 8192 - Function ereg() is deprecated, %s(74)
108 Error: 8192 - Function ereg() is deprecated, %s(74)
112 Error: 8192 - Function ereg() is deprecated, %s(74)
[all …]
H A Dereg_basic_004.phpt2 Test ereg() function : basic functionality - a few non-matches
13 var_dump(ereg('A', 'a', $regs));
14 var_dump(ereg('[A-Z]', '0', $regs));
15 var_dump(ereg('(a){4}', 'aaa', $regs));
16 var_dump(ereg('^a', 'ba', $regs));
17 var_dump(ereg('b$', 'ba', $regs));
18 var_dump(ereg('[:alpha:]', 'x', $regs));
26 Deprecated: Function ereg() is deprecated in %s on line %d
29 Deprecated: Function ereg() is deprecated in %s on line %d
32 Deprecated: Function ereg() is deprecated in %s on line %d
[all …]
H A Dereg_error_001.phpt2 Test ereg() function : error conditions - wrong number of args
15 echo "*** Testing ereg() : error conditions ***\n";
18 //Test ereg with one more than the expected number of arguments
24 var_dump( ereg($pattern, $string, $registers, $extra_arg) );
26 // Testing ereg with one less than the expected number of arguments
29 var_dump( ereg($pattern) );
34 *** Testing ereg() : error conditions ***
36 -- Testing ereg() function with more than expected no. of arguments --
38 Deprecated: Function ereg() is deprecated in %s on line %d
40 Warning: ereg() expects at most 3 parameters, 4 given in %s on line %d
[all …]
H A Dereg_basic_002.phpt2 Test ereg() function : basic functionality (without $regs)
15 echo "*** Testing ereg() : basic functionality ***\n";
22 var_dump(ereg($pattern, $string));
28 *** Testing ereg() : basic functionality ***
31 Deprecated: Function ereg() is deprecated in %s on line %d
35 Deprecated: Function ereg() is deprecated in %s on line %d
39 Deprecated: Function ereg() is deprecated in %s on line %d
43 Deprecated: Function ereg() is deprecated in %s on line %d
47 Deprecated: Function ereg() is deprecated in %s on line %d
51 Deprecated: Function ereg() is deprecated in %s on line %d
[all …]
H A Dereg_variation_003.phpt16 echo "*** Testing ereg() : usage variations ***\n";
74 var_dump( ereg($pattern, $string, $value) );
81 *** Testing ereg() : usage variations ***
86 Error: 8192 - Function ereg() is deprecated, %s(71)
96 Error: 8192 - Function ereg() is deprecated, %s(71)
106 Error: 8192 - Function ereg() is deprecated, %s(71)
116 Error: 8192 - Function ereg() is deprecated, %s(71)
126 Error: 8192 - Function ereg() is deprecated, %s(71)
136 Error: 8192 - Function ereg() is deprecated, %s(71)
146 Error: 8192 - Function ereg() is deprecated, %s(71)
[all …]
H A Dereg_basic_001.phpt2 Test ereg() function : basic functionality (with $regs)
15 echo "*** Testing ereg() : basic functionality ***\n";
22 var_dump(ereg($pattern, $string, $regs));
29 *** Testing ereg() : basic functionality ***
32 Deprecated: Function ereg() is deprecated in %s on line %d
44 Deprecated: Function ereg() is deprecated in %s on line %d
54 Deprecated: Function ereg() is deprecated in %s on line %d
64 Deprecated: Function ereg() is deprecated in %s on line %d
72 Deprecated: Function ereg() is deprecated in %s on line %d
90 Deprecated: Function ereg() is deprecated in %s on line %d
[all …]
H A Dereg_basic_003.phpt2 Test ereg() function : basic functionality - long RE
5 /* Prototype : proto int ereg(string pattern, string string [, array registers])
15 var_dump(ereg(str_repeat('(.)', 2048), str_repeat('x', 2048)));
16 var_dump(ereg(str_repeat('(.)', 2048), str_repeat('x', 2048), $regs));
22 Deprecated: Function ereg() is deprecated in %s on line %d
25 Deprecated: Function ereg() is deprecated in %s on line %d
H A D004.phpt2 simple ereg test
5 if (ereg(".*nice and simple.*",$a)) {
8 if (!ereg(".*doesn't exist.*",$a)) {
13 Deprecated: Function ereg() is deprecated in %s on line %d
16 Deprecated: Function ereg() is deprecated in %s on line %d
H A Dereg_variation_004.phpt2 Test ereg() function : usage variations - pass non-variable as arg 3, which is pass-by-ref.
5 /* Prototype : proto int ereg(string pattern, string string [, array registers])
11 var_dump(ereg('l{2}', 'hello', str_repeat('x',1)));
17 Deprecated: Function ereg() is deprecated in %s on line %d
H A D005.phpt2 Test Regular expression register support in ereg
5 echo ereg(".*(is).*(is).*",$a,$registers);
15 Deprecated: Function ereg() is deprecated in %s on line %d
H A Dsplit_basic_001.phpt15 echo "*** Testing ereg() : basic functionality ***\n";
28 *** Testing ereg() : basic functionality ***
H A Dspliti_basic_001.phpt15 echo "*** Testing ereg() : basic functionality ***\n";
28 *** Testing ereg() : basic functionality ***
H A Dsplit_basic_002.phpt15 echo "*** Testing ereg() : basic functionality ***\n";
28 *** Testing ereg() : basic functionality ***
/PHP-5.6/ext/ereg/
H A Dconfig.w324 ARG_WITH("ereg", "POSIX extended regular expressions", "yes");
7 …TENSION("ereg", "ereg.c", PHP_EREG_SHARED, "-Dregexec=php_regexec -Dregerror=php_regerror -Dregfre…
8 ADD_SOURCES("ext/ereg/regex", "regcomp.c regexec.c regerror.c regfree.c", "ereg");
11 PHP_INSTALL_HEADERS("ext/ereg", "php_ereg.h php_regex.h regex/");
H A Dphp_ereg.h40 PHP_FUNCTION(ereg);
48 ZEND_BEGIN_MODULE_GLOBALS(ereg)
51 ZEND_END_MODULE_GLOBALS(ereg)
54 PHP_MINFO_FUNCTION(ereg);
62 ZEND_EXTERN_MODULE_GLOBALS(ereg)
H A Dconfig0.m42 dnl config.m4 for extension ereg
37 PHP_NEW_EXTENSION(ereg, ereg.c $ereg_regex_sources, no,,$PHP_EREG_CFLAGS)
38 PHP_INSTALL_HEADERS([ext/ereg], [php_ereg.h php_regex.h $ereg_regex_headers])
H A Dereg.c55 PHP_DEP_FE(ereg, arginfo_ereg)
76 ZEND_DECLARE_MODULE_GLOBALS(ereg)
77 static PHP_GINIT_FUNCTION(ereg);
89 PHP_MINFO(ereg),
91 PHP_MODULE_GLOBALS(ereg),
92 PHP_GINIT(ereg),
93 PHP_GSHUTDOWN(ereg),
101 ZEND_GET_MODULE(ereg) in ZEND_GET_MODULE() argument
219 static PHP_GINIT_FUNCTION(ereg) in PHP_GINIT_FUNCTION() argument
234 PHP_MINFO_FUNCTION(ereg) in PHP_MINFO_FUNCTION() argument
[all …]
H A DCREDITS1 ereg
/PHP-5.6/ext/reflection/tests/
H A DReflectionExtension_getClassNames_variation1.phpt7 $ereg = new ReflectionExtension('ereg');
8 var_dump($ereg->getClassNames());
H A DReflectionFunction_isDeprecated_basic.phpt12 $rc = new ReflectionFunction('ereg');
/PHP-5.6/ext/mbstring/tests/
H A Dphp_gr_jp_10830.phpt13 var_dump( ereg("^[^><]+$",$a) );
19 Deprecated: Function ereg() is deprecated in %s on line %d
/PHP-5.6/ext/pdo_mysql/
H A Dget_error_codes.php8 …if (ereg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $match…
/PHP-5.6/ext/opcache/
H A Dconfig.w3224 …php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");

Completed in 22 milliseconds

12