/PHP-5.4/ext/ereg/tests/ |
H A D | ereg_replace_error_002.phpt | 11 echo "*** Testing ereg_replace() : bad REs ***\n"; 12 var_dump(ereg_replace("", "hello", "some string")); 13 var_dump(ereg_replace("c(d", "hello", "some string")); 14 var_dump(ereg_replace("a[b", "hello", "some string")); 16 var_dump(ereg_replace("*", "hello", "some string")); 17 var_dump(ereg_replace("+", "hello", "some string")); 18 var_dump(ereg_replace("?", "hello", "some string")); 21 var_dump(ereg_replace("h|", "hello", "some string")); 25 var_dump(ereg_replace('\\', 'x', "some string")); 30 *** Testing ereg_replace() : bad REs *** [all …]
|
H A D | ereg_replace_variation_001.phpt | 89 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 118 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 123 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 129 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 154 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 159 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 168 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 177 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 182 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) 187 Error: 2 - ereg_replace(): REG_EMPTY, %s(74) [all …]
|
H A D | ereg_replace_variation_003.phpt | 2 Test ereg_replace() function : usage variations - unexpected type arg 3 16 echo "*** Testing ereg_replace() : usage variations ***\n"; 83 *** Testing ereg_replace() : usage variations *** 88 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 92 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 96 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 100 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 104 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 108 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 112 Error: 8192 - Function ereg_replace() is deprecated, %s(74) [all …]
|
H A D | ereg_replace_error_001.phpt | 2 Test ereg_replace() function : error conditions - wrong number of args 11 echo "*** Testing ereg_replace() : error conditions ***\n"; 14 //Test ereg_replace with one more than the expected number of arguments 20 var_dump( ereg_replace($pattern, $replacement, $string, $extra_arg) ); 22 // Testing ereg_replace with one less than the expected number of arguments 26 var_dump( ereg_replace($pattern, $replacement) ); 31 *** Testing ereg_replace() : error conditions *** 33 -- Testing ereg_replace() function with more than expected no. of arguments -- 35 Deprecated: Function ereg_replace() is deprecated in %s on line %d 37 Warning: ereg_replace() expects exactly 3 parameters, 4 given in %s on line %d [all …]
|
H A D | ereg_replace_basic_002.phpt | 2 Test ereg_replace() function : basic functionality - a few non-matches 13 var_dump(ereg_replace('A', $replacement, 'a')); 14 var_dump(ereg_replace('[A-Z]', $replacement, '0')); 15 var_dump(ereg_replace('(a){4}', $replacement, 'aaa')); 16 var_dump(ereg_replace('^a', $replacement, 'ba')); 17 var_dump(ereg_replace('b$', $replacement, 'ba')); 18 var_dump(ereg_replace('[:alpha:]', $replacement, 'x')); 24 Deprecated: Function ereg_replace() is deprecated in %s on line %d 27 Deprecated: Function ereg_replace() is deprecated in %s on line %d 30 Deprecated: Function ereg_replace() is deprecated in %s on line %d [all …]
|
H A D | ereg_replace_variation_002.phpt | 2 Test ereg_replace() function : usage variations - unexpected type arg 2 16 echo "*** Testing ereg_replace() : usage variations ***\n"; 83 *** Testing ereg_replace() : usage variations *** 88 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 92 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 96 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 100 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 104 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 108 Error: 8192 - Function ereg_replace() is deprecated, %s(74) 112 Error: 8192 - Function ereg_replace() is deprecated, %s(74) [all …]
|
H A D | 003.phpt | 2 ereg_replace single-quote test 5 echo ereg_replace("\\\\'","'",$a) 8 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 006.phpt | 2 Test ereg_replace of start-of-line 5 echo ereg_replace("^This","That",$a); 8 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | ereg_replace_basic_001.phpt | 2 Test ereg_replace() function : basic functionality 12 * Test a number of simple, valid matches with ereg_replace 33 Deprecated: Function ereg_replace() is deprecated in %s on line %d 37 Deprecated: Function ereg_replace() is deprecated in %s on line %d 41 Deprecated: Function ereg_replace() is deprecated in %s on line %d 45 Deprecated: Function ereg_replace() is deprecated in %s on line %d 49 Deprecated: Function ereg_replace() is deprecated in %s on line %d 53 Deprecated: Function ereg_replace() is deprecated in %s on line %d 57 Deprecated: Function ereg_replace() is deprecated in %s on line %d 61 Deprecated: Function ereg_replace() is deprecated in %s on line %d [all …]
|
H A D | 015.phpt | 4 <?php echo ereg_replace("^","z","abc123")?> 6 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 002.phpt | 5 echo ereg_replace("123","",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 001.phpt | 5 echo ereg_replace("123","def",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 010.phpt | 5 echo ereg_replace("1(2*)3","\\1def\\1",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 011.phpt | 5 echo ereg_replace("123","def\\0ghi",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 016.phpt | 4 <?php echo ereg_replace('\?',"abc","?123?")?> 6 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 012.phpt | 5 echo ereg_replace("123",'def\1ghi',$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 008.phpt | 5 echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123"); 8 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 014.phpt | 5 echo ereg_replace("a(.*)b(.*)c","\\1",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 013.phpt | 5 echo ereg_replace("123","def\\g\\\\hi\\",$a)?> 7 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | 007.phpt | 6 $b=ereg_replace("abcd","",$a); 10 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | php_gr_jp_dev_884-2.phpt | 11 var_dump(ereg_replace("C?$", "Z", "ABC")); 13 var_dump(ereg_replace("C*$", "Z", "ABC")); 18 Deprecated: Function ereg_replace() is deprecated in %s on line %d 22 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | php_gr_jp_dev_884-1.phpt | 11 var_dump(ereg_replace(".*", "b", "a")); 16 Deprecated: Function ereg_replace() is deprecated in %s on line %d
|
H A D | overload02.phpt | 27 …$replaced = mb_convert_encoding(ereg_replace($c, '!!', $converted_str), mb_internal_encoding(), 'S…
|
/PHP-5.4/ |
H A D | server-tests.php | 1251 $tmp_file = ereg_replace('\.phpt$','.php',$file); 1256 @unlink(ereg_replace('\.phpt$','.diff',$file)); 1257 @unlink(ereg_replace('\.phpt$','.log',$file)); 1258 @unlink(ereg_replace('\.phpt$','.exp',$file)); 1259 @unlink(ereg_replace('\.phpt$','.out',$file)); 1492 'output' => ereg_replace('\.phpt$','.log', $file), 1493 'diff' => ereg_replace('\.phpt$','.diff', $file) 1501 $logname = ereg_replace('\.phpt$','.exp',$file); 1507 $logname = ereg_replace('\.phpt$','.out',$file); 1513 $logname = ereg_replace('\.phpt$','.diff',$file); [all …]
|
/PHP-5.4/ext/ereg/ |
H A D | php_ereg.h | 43 PHP_FUNCTION(ereg_replace);
|