Searched refs:eregi_replace (Results 1 – 11 of 11) sorted by relevance
/PHP-5.6/ext/ereg/tests/ |
H A D | eregi_replace_error_002.phpt | 11 echo "*** Testing eregi_replace() : bad REs ***\n"; 12 var_dump(eregi_replace("", "hello", "some string")); 13 var_dump(eregi_replace("c(d", "hello", "some string")); 14 var_dump(eregi_replace("a[b", "hello", "some string")); 16 var_dump(eregi_replace("*", "hello", "some string")); 17 var_dump(eregi_replace("+", "hello", "some string")); 18 var_dump(eregi_replace("?", "hello", "some string")); 21 var_dump(eregi_replace("h|", "hello", "some string")); 25 var_dump(eregi_replace('\\', 'x', "some string")); 30 *** Testing eregi_replace() : bad REs *** [all …]
|
H A D | eregi_replace_variation_001.phpt | 89 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 118 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 123 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 129 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 154 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 159 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 168 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 177 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 182 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) 187 Error: 2 - eregi_replace(): REG_EMPTY, %s(74) [all …]
|
H A D | eregi_replace_variation_003.phpt | 2 Test eregi_replace() function : usage variations - unexpected type arg 3 16 echo "*** Testing eregi_replace() : usage variations ***\n"; 83 *** Testing eregi_replace() : usage variations *** 88 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 92 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 96 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 100 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 104 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 108 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 112 Error: 8192 - Function eregi_replace() is deprecated, %s(74) [all …]
|
H A D | eregi_replace_error_001.phpt | 2 Test eregi_replace() function : error conditions - wrong number of args 11 echo "*** Testing eregi_replace() : error conditions ***\n"; 14 //Test eregi_replace with one more than the expected number of arguments 20 var_dump( eregi_replace($pattern, $replacement, $string, $extra_arg) ); 22 // Testing eregi_replace with one less than the expected number of arguments 26 var_dump( eregi_replace($pattern, $replacement) ); 31 *** Testing eregi_replace() : error conditions *** 33 -- Testing eregi_replace() function with more than expected no. of arguments -- 35 Deprecated: Function eregi_replace() is deprecated in %s on line %d 37 Warning: eregi_replace() expects exactly 3 parameters, 4 given in %s on line %d [all …]
|
H A D | eregi_replace_basic_002.phpt | 2 Test eregi_replace() function : basic functionality - a few non-matches 13 var_dump(eregi_replace('[A-Z]', $replacement, '0')); 14 var_dump(eregi_replace('(a){4}', $replacement, 'aaa')); 15 var_dump(eregi_replace('^a', $replacement, 'ba')); 16 var_dump(eregi_replace('b$', $replacement, 'ba')); 17 var_dump(eregi_replace('[:alpha:]', $replacement, 'x')); 23 Deprecated: Function eregi_replace() is deprecated in %s on line %d 26 Deprecated: Function eregi_replace() is deprecated in %s on line %d 29 Deprecated: Function eregi_replace() is deprecated in %s on line %d 32 Deprecated: Function eregi_replace() is deprecated in %s on line %d [all …]
|
H A D | eregi_replace_variation_002.phpt | 2 Test eregi_replace() function : usage variations - unexpected type arg 2 16 echo "*** Testing eregi_replace() : usage variations ***\n"; 83 *** Testing eregi_replace() : usage variations *** 88 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 92 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 96 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 100 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 104 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 108 Error: 8192 - Function eregi_replace() is deprecated, %s(74) 112 Error: 8192 - Function eregi_replace() is deprecated, %s(74) [all …]
|
H A D | eregi_replace_basic.phpt | 2 Test eregi_replace() function : basic functionality - confirm case insensitivity 6 /* Prototype : proto string eregi_replace(string pattern, string replacement, string string) 13 * Test basic functionality of eregi_replace() 16 echo "*** Testing eregi_replace() : basic functionality ***\n"; 24 var_dump(eregi_replace('([[:lower:]]+) word', '\\1_character', $string)); 30 *** Testing eregi_replace() : basic functionality *** 36 Deprecated: Function eregi_replace() is deprecated in %s on line %d
|
H A D | eregi_replace_basic_001.phpt | 12 * Test a number of simple, valid matches with eregi_replace 33 Deprecated: Function eregi_replace() is deprecated in %s on line %d 37 Deprecated: Function eregi_replace() is deprecated in %s on line %d 41 Deprecated: Function eregi_replace() is deprecated in %s on line %d 45 Deprecated: Function eregi_replace() is deprecated in %s on line %d 49 Deprecated: Function eregi_replace() is deprecated in %s on line %d 53 Deprecated: Function eregi_replace() is deprecated in %s on line %d 57 Deprecated: Function eregi_replace() is deprecated in %s on line %d 61 Deprecated: Function eregi_replace() is deprecated in %s on line %d 65 Deprecated: Function eregi_replace() is deprecated in %s on line %d [all …]
|
/PHP-5.6/ext/ereg/ |
H A D | php_ereg.h | 42 PHP_FUNCTION(eregi_replace);
|
H A D | ereg.c | 58 PHP_DEP_FE(eregi_replace, arginfo_ereg_replace) 621 PHP_FUNCTION(eregi_replace) in PHP_FUNCTION() argument
|
/PHP-5.6/ext/mbstring/ |
H A D | README_PHP3-i18n-ja | 678 mb version of ereg_replace() and eregi_replace()
|
Completed in 20 milliseconds