/PHP-5.4/ext/ereg/tests/ |
H A D | ereg_error_002.phpt | 19 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 D | ereg_variation_001.phpt | 2 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 D | ereg_variation_002.phpt | 2 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 D | ereg_basic_004.phpt | 2 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 D | ereg_error_001.phpt | 2 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 D | ereg_basic_002.phpt | 2 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 D | ereg_variation_003.phpt | 16 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 D | ereg_basic_001.phpt | 2 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 D | ereg_basic_003.phpt | 2 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 D | 004.phpt | 2 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 D | ereg_variation_004.phpt | 2 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 D | 005.phpt | 2 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 D | split_basic_001.phpt | 15 echo "*** Testing ereg() : basic functionality ***\n"; 28 *** Testing ereg() : basic functionality ***
|
H A D | spliti_basic_001.phpt | 15 echo "*** Testing ereg() : basic functionality ***\n"; 28 *** Testing ereg() : basic functionality ***
|
H A D | split_basic_002.phpt | 15 echo "*** Testing ereg() : basic functionality ***\n"; 28 *** Testing ereg() : basic functionality ***
|
/PHP-5.4/ext/ereg/ |
H A D | config.w32 | 4 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 D | php_ereg.h | 40 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 D | config0.m4 | 2 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 D | ereg.c | 55 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 D | CREDITS | 1 ereg
|
/PHP-5.4/scripts/dev/ |
H A D | extern_c.php | 21 if (ereg("^[[:space:]]*BEGIN_EXTERN_C", $line)) { 24 } else if (ereg("^[[:space:]]*END_EXTERN_C", $line)) { 27 } else if ( (ereg("^[[:space:]]*PHPAPI[[:space:]]*", $line)) 28 ||(ereg("^[[:space:]]*ZEND_API[[:space:]]*", $line))) {
|
/PHP-5.4/ext/reflection/tests/ |
H A D | ReflectionExtension_getClassNames_variation1.phpt | 7 $ereg = new ReflectionExtension('ereg'); 8 var_dump($ereg->getClassNames());
|
H A D | ReflectionFunction_isDeprecated_basic.phpt | 12 $rc = new ReflectionFunction('ereg');
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | php_gr_jp_10830.phpt | 13 var_dump( ereg("^[^><]+$",$a) ); 19 Deprecated: Function ereg() is deprecated in %s on line %d
|
/PHP-5.4/ext/pdo_mysql/ |
H A D | get_error_codes.php | 8 …if (ereg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $match…
|