summaryrefslogtreecommitdiff
path: root/ext/ereg/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ereg/tests')
-rw-r--r--ext/ereg/tests/001.phpt3
-rw-r--r--ext/ereg/tests/002.phpt3
-rw-r--r--ext/ereg/tests/003.phpt3
-rw-r--r--ext/ereg/tests/004.phpt5
-rw-r--r--ext/ereg/tests/005.phpt3
-rw-r--r--ext/ereg/tests/006.phpt3
-rw-r--r--ext/ereg/tests/007.phpt3
-rw-r--r--ext/ereg/tests/008.phpt3
-rw-r--r--ext/ereg/tests/009.phpt3
-rw-r--r--ext/ereg/tests/010.phpt3
-rw-r--r--ext/ereg/tests/011.phpt3
-rw-r--r--ext/ereg/tests/012.phpt3
-rw-r--r--ext/ereg/tests/013.phpt3
-rw-r--r--ext/ereg/tests/014.phpt3
-rw-r--r--ext/ereg/tests/015.phpt3
-rw-r--r--ext/ereg/tests/016.phpt3
-rw-r--r--ext/ereg/tests/ereg_basic_001.phpt28
-rw-r--r--ext/ereg/tests/ereg_basic_002.phpt28
-rw-r--r--ext/ereg/tests/ereg_basic_003.phpt5
-rw-r--r--ext/ereg/tests/ereg_basic_004.phpt13
-rw-r--r--ext/ereg/tests/ereg_error_001.phpt8
-rw-r--r--ext/ereg/tests/ereg_error_002.phpt62
-rw-r--r--ext/ereg/tests/ereg_replace_basic_001.phpt28
-rw-r--r--ext/ereg/tests/ereg_replace_basic_002.phpt13
-rw-r--r--ext/ereg/tests/ereg_replace_error_001.phpt8
-rw-r--r--ext/ereg/tests/ereg_replace_error_002.phpt62
-rw-r--r--ext/ereg/tests/ereg_replace_variation_001.phpt27
-rw-r--r--ext/ereg/tests/ereg_replace_variation_002.phpt25
-rw-r--r--ext/ereg/tests/ereg_replace_variation_003.phpt25
-rw-r--r--ext/ereg/tests/ereg_variation_001.phpt27
-rw-r--r--ext/ereg/tests/ereg_variation_002.phpt25
-rw-r--r--ext/ereg/tests/ereg_variation_003.phpt24
-rw-r--r--ext/ereg/tests/ereg_variation_004.phpt5
-rw-r--r--ext/ereg/tests/eregi_basic.phpt6
-rw-r--r--ext/ereg/tests/eregi_basic_001.phpt28
-rw-r--r--ext/ereg/tests/eregi_basic_002.phpt28
-rw-r--r--ext/ereg/tests/eregi_basic_003.phpt5
-rw-r--r--ext/ereg/tests/eregi_basic_004.phpt11
-rw-r--r--ext/ereg/tests/eregi_error_001.phpt8
-rw-r--r--ext/ereg/tests/eregi_error_002.phpt62
-rw-r--r--ext/ereg/tests/eregi_replace_basic.phpt4
-rw-r--r--ext/ereg/tests/eregi_replace_basic_001.phpt28
-rw-r--r--ext/ereg/tests/eregi_replace_basic_002.phpt11
-rw-r--r--ext/ereg/tests/eregi_replace_error_001.phpt8
-rw-r--r--ext/ereg/tests/eregi_replace_error_002.phpt62
-rw-r--r--ext/ereg/tests/eregi_replace_variation_001.phpt27
-rw-r--r--ext/ereg/tests/eregi_replace_variation_002.phpt25
-rw-r--r--ext/ereg/tests/eregi_replace_variation_003.phpt25
-rw-r--r--ext/ereg/tests/eregi_variation_001.phpt27
-rw-r--r--ext/ereg/tests/eregi_variation_002.phpt25
-rw-r--r--ext/ereg/tests/eregi_variation_003.phpt24
-rw-r--r--ext/ereg/tests/eregi_variation_004.phpt5
-rw-r--r--ext/ereg/tests/split_basic_001.phpt30
-rw-r--r--ext/ereg/tests/split_basic_002.phpt30
-rw-r--r--ext/ereg/tests/split_basic_003.phpt13
-rw-r--r--ext/ereg/tests/split_error_001.phpt8
-rw-r--r--ext/ereg/tests/split_error_002.phpt60
-rw-r--r--ext/ereg/tests/split_variation_001.phpt25
-rw-r--r--ext/ereg/tests/split_variation_002.phpt25
-rw-r--r--ext/ereg/tests/split_variation_003.phpt24
-rw-r--r--ext/ereg/tests/split_variation_004.phpt5
-rw-r--r--ext/ereg/tests/spliti_basic_001.phpt30
-rw-r--r--ext/ereg/tests/spliti_basic_002.phpt30
-rw-r--r--ext/ereg/tests/spliti_basic_003.phpt11
-rw-r--r--ext/ereg/tests/spliti_basic_004.phpt9
-rw-r--r--ext/ereg/tests/spliti_error_001.phpt4
-rw-r--r--ext/ereg/tests/spliti_error_002.phpt56
-rw-r--r--ext/ereg/tests/spliti_variation_001.phpt25
-rw-r--r--ext/ereg/tests/spliti_variation_002.phpt25
-rw-r--r--ext/ereg/tests/spliti_variation_003.phpt34
-rw-r--r--ext/ereg/tests/spliti_variation_004.phpt5
-rw-r--r--ext/ereg/tests/sql_regcase_basic_001.phpt4
-rw-r--r--ext/ereg/tests/sql_regcase_error_001.phpt8
-rw-r--r--ext/ereg/tests/sql_regcase_variation_001.phpt37
74 files changed, 171 insertions, 1209 deletions
diff --git a/ext/ereg/tests/001.phpt b/ext/ereg/tests/001.phpt
index 0ba697978c..13c50d0d1e 100644
--- a/ext/ereg/tests/001.phpt
+++ b/ext/ereg/tests/001.phpt
@@ -3,6 +3,5 @@ RegReplace test 1
--FILE--
<?php $a="abc123";
echo ereg_replace("123","def",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abcdef
diff --git a/ext/ereg/tests/002.phpt b/ext/ereg/tests/002.phpt
index 6ce12a936a..abe9e063d8 100644
--- a/ext/ereg/tests/002.phpt
+++ b/ext/ereg/tests/002.phpt
@@ -3,6 +3,5 @@ RegReplace test 2
--FILE--
<?php $a="abc123";
echo ereg_replace("123","",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abc
diff --git a/ext/ereg/tests/003.phpt b/ext/ereg/tests/003.phpt
index 5431349fa9..4257f0d27e 100644
--- a/ext/ereg/tests/003.phpt
+++ b/ext/ereg/tests/003.phpt
@@ -4,6 +4,5 @@ ereg_replace single-quote test
<?php $a="\\'test";
echo ereg_replace("\\\\'","'",$a)
?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
'test
diff --git a/ext/ereg/tests/004.phpt b/ext/ereg/tests/004.phpt
index db16fe1471..3e535c6a9d 100644
--- a/ext/ereg/tests/004.phpt
+++ b/ext/ereg/tests/004.phpt
@@ -9,9 +9,6 @@ simple ereg test
echo "ok\n";
}
?>
---EXPECTF--
-Deprecated: Function ereg() is deprecated in %s on line %d
+--EXPECT--
ok
-
-Deprecated: Function ereg() is deprecated in %s on line %d
ok
diff --git a/ext/ereg/tests/005.phpt b/ext/ereg/tests/005.phpt
index 127ede0c49..ee9ccc6da4 100644
--- a/ext/ereg/tests/005.phpt
+++ b/ext/ereg/tests/005.phpt
@@ -11,8 +11,7 @@ Test Regular expression register support in ereg
echo $registers[2];
echo "\n";
?>
---EXPECTF--
-Deprecated: Function ereg() is deprecated in %s on line %d
+--EXPECT--
32
This is a nice and simple string
is
diff --git a/ext/ereg/tests/006.phpt b/ext/ereg/tests/006.phpt
index 7df88dd321..cae349672e 100644
--- a/ext/ereg/tests/006.phpt
+++ b/ext/ereg/tests/006.phpt
@@ -4,6 +4,5 @@ Test ereg_replace of start-of-line
<?php $a="This is a nice and simple string";
echo ereg_replace("^This","That",$a);
?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
That is a nice and simple string
diff --git a/ext/ereg/tests/007.phpt b/ext/ereg/tests/007.phpt
index 3bbd6551b6..beb3cdc159 100644
--- a/ext/ereg/tests/007.phpt
+++ b/ext/ereg/tests/007.phpt
@@ -6,6 +6,5 @@ Test empty result buffer in reg_replace
$b=ereg_replace("abcd","",$a);
echo "strlen(\$b)=".strlen($b);
?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
strlen($b)=0
diff --git a/ext/ereg/tests/008.phpt b/ext/ereg/tests/008.phpt
index ad34ba3978..9a0cedabc5 100644
--- a/ext/ereg/tests/008.phpt
+++ b/ext/ereg/tests/008.phpt
@@ -4,6 +4,5 @@ Test back-references in regular expressions
<?php
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
123 abc +-|=
diff --git a/ext/ereg/tests/009.phpt b/ext/ereg/tests/009.phpt
index 513f31a83e..528606f3c8 100644
--- a/ext/ereg/tests/009.phpt
+++ b/ext/ereg/tests/009.phpt
@@ -9,8 +9,7 @@ test");
echo $a[$i] . "\n";
}
?>
---EXPECTF--
-Deprecated: Function split() is deprecated in %s on line %d
+--EXPECT--
4
this
is
diff --git a/ext/ereg/tests/010.phpt b/ext/ereg/tests/010.phpt
index 52a3e3bb1c..f6f8909f73 100644
--- a/ext/ereg/tests/010.phpt
+++ b/ext/ereg/tests/010.phpt
@@ -3,6 +3,5 @@ Long back references
--FILE--
<?php $a="abc122222222223";
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abc2222222222def2222222222
diff --git a/ext/ereg/tests/011.phpt b/ext/ereg/tests/011.phpt
index 8bd51b467a..65554b302f 100644
--- a/ext/ereg/tests/011.phpt
+++ b/ext/ereg/tests/011.phpt
@@ -3,6 +3,5 @@
--FILE--
<?php $a="abc123";
echo ereg_replace("123","def\\0ghi",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abcdef123ghi
diff --git a/ext/ereg/tests/012.phpt b/ext/ereg/tests/012.phpt
index d54ae01f12..88ad5992ad 100644
--- a/ext/ereg/tests/012.phpt
+++ b/ext/ereg/tests/012.phpt
@@ -3,6 +3,5 @@ nonexisting back reference
--FILE--
<?php $a="abc123";
echo ereg_replace("123",'def\1ghi',$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abcdef\1ghi
diff --git a/ext/ereg/tests/013.phpt b/ext/ereg/tests/013.phpt
index 23f6944ff5..a2d9ee0099 100644
--- a/ext/ereg/tests/013.phpt
+++ b/ext/ereg/tests/013.phpt
@@ -3,6 +3,5 @@ escapes in replace string
--FILE--
<?php $a="abc123";
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abcdef\g\\hi\
diff --git a/ext/ereg/tests/014.phpt b/ext/ereg/tests/014.phpt
index ac68802061..d2a32451a9 100644
--- a/ext/ereg/tests/014.phpt
+++ b/ext/ereg/tests/014.phpt
@@ -3,6 +3,5 @@ backreferences not replaced recursively
--FILE--
<?php $a="a\\2bxc";
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
\2
diff --git a/ext/ereg/tests/015.phpt b/ext/ereg/tests/015.phpt
index edb8e709c6..c255ddf05b 100644
--- a/ext/ereg/tests/015.phpt
+++ b/ext/ereg/tests/015.phpt
@@ -2,6 +2,5 @@
replace empty matches
--FILE--
<?php echo ereg_replace("^","z","abc123")?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
zabc123
diff --git a/ext/ereg/tests/016.phpt b/ext/ereg/tests/016.phpt
index 93dbda7ee5..c354ab26fc 100644
--- a/ext/ereg/tests/016.phpt
+++ b/ext/ereg/tests/016.phpt
@@ -2,6 +2,5 @@
test backslash handling in regular expressions
--FILE--
<?php echo ereg_replace('\?',"abc","?123?")?>
---EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
+--EXPECT--
abc123abc
diff --git a/ext/ereg/tests/ereg_basic_001.phpt b/ext/ereg/tests/ereg_basic_001.phpt
index e9dad37636..485b2d26e8 100644
--- a/ext/ereg/tests/ereg_basic_001.phpt
+++ b/ext/ereg/tests/ereg_basic_001.phpt
@@ -28,8 +28,6 @@ echo "Done";
--EXPECTF--
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(6)
array(3) {
[0]=>
@@ -40,8 +38,6 @@ array(3) {
string(1) "b"
}
--> Pattern: '()'; string: ''
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
array(2) {
[0]=>
@@ -50,8 +46,6 @@ array(2) {
bool(false)
}
--> Pattern: '()'; string: 'abcdef'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
array(2) {
[0]=>
@@ -60,16 +54,12 @@ array(2) {
bool(false)
}
--> Pattern: '[x]|[^x]'; string: 'abcdef'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
array(1) {
[0]=>
string(1) "a"
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(15)
array(6) {
[0]=>
@@ -86,48 +76,36 @@ array(6) {
string(3) "ddd"
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; string: '\`^.[$()|*+?{''
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(14)
array(1) {
[0]=>
string(14) "\`^.[$()|*+?{'"
}
--> Pattern: '\a'; string: 'a'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
array(1) {
[0]=>
string(1) "a"
}
--> Pattern: '[0-9][^0-9]'; string: '2a'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(2)
array(1) {
[0]=>
string(2) "2a"
}
--> Pattern: '^[[:alnum:]]{62,62}$'; string: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(62)
array(1) {
[0]=>
string(62) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; string: '0123456789'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(5)
array(1) {
[0]=>
string(5) "01234"
}
--> Pattern: '[[:digit:]]{5}$'; string: '0123456789'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(5)
array(1) {
[0]=>
@@ -135,19 +113,15 @@ array(1) {
}
--> Pattern: '[[:blank:]]{1,10}'; string: '
'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(2)
array(1) {
[0]=>
string(2) " "
}
--> Pattern: '[[:print:]]{3}'; string: ' a '
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(3)
array(1) {
[0]=>
string(3) " a "
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_basic_002.phpt b/ext/ereg/tests/ereg_basic_002.phpt
index 75665fb100..672632fc7d 100644
--- a/ext/ereg/tests/ereg_basic_002.phpt
+++ b/ext/ereg/tests/ereg_basic_002.phpt
@@ -27,56 +27,30 @@ echo "Done";
--EXPECTF--
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '()'; string: ''
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '()'; string: 'abcdef'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '[x]|[^x]'; string: 'abcdef'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; string: '\`^.[$()|*+?{''
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '\a'; string: 'a'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '[0-9][^0-9]'; string: '2a'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '^[[:alnum:]]{62,62}$'; string: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '^[[:digit:]]{5}'; string: '0123456789'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:digit:]]{5}$'; string: '0123456789'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:blank:]]{1,10}'; string: '
'
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:print:]]{3}'; string: ' a '
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_basic_003.phpt b/ext/ereg/tests/ereg_basic_003.phpt
index 0cbe0797b9..8c14738832 100644
--- a/ext/ereg/tests/ereg_basic_003.phpt
+++ b/ext/ereg/tests/ereg_basic_003.phpt
@@ -19,10 +19,7 @@ var_dump(count($regs));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function ereg() is deprecated in %s on line %d
int(1)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
int(2048)
int(2049)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_basic_004.phpt b/ext/ereg/tests/ereg_basic_004.phpt
index 20bdf80073..1356eaf637 100644
--- a/ext/ereg/tests/ereg_basic_004.phpt
+++ b/ext/ereg/tests/ereg_basic_004.phpt
@@ -23,22 +23,11 @@ var_dump($regs);
echo "Done";
?>
--EXPECTF--
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function ereg() is deprecated in %s on line %d
bool(false)
string(8) "original"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_error_001.phpt b/ext/ereg/tests/ereg_error_001.phpt
index ccb770897d..6232326317 100644
--- a/ext/ereg/tests/ereg_error_001.phpt
+++ b/ext/ereg/tests/ereg_error_001.phpt
@@ -35,15 +35,11 @@ echo "Done";
-- Testing ereg() function with more than expected no. of arguments --
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg() expects at most 3 parameters, 4 given in %s on line %d
+Warning: ereg() expects at most 3 parameters, 4 given in %s on line 21
NULL
-- Testing ereg() function with less than expected no. of arguments --
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg() expects at least 2 parameters, 1 given in %s on line %d
+Warning: ereg() expects at least 2 parameters, 1 given in %s on line 26
NULL
Done
diff --git a/ext/ereg/tests/ereg_error_002.phpt b/ext/ereg/tests/ereg_error_002.phpt
index 707b7317f7..61166ee979 100644
--- a/ext/ereg/tests/ereg_error_002.phpt
+++ b/ext/ereg/tests/ereg_error_002.phpt
@@ -40,79 +40,49 @@ echo "Done";
--EXPECTF--
*** Testing ereg() : error conditions ***
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EMPTY in %s on line %d
+Warning: ereg(): REG_EMPTY in %s on line 16
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EPAREN in %s on line %d
+Warning: ereg(): REG_EPAREN in %s on line 17
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EBRACK in %s on line %d
+Warning: ereg(): REG_EBRACK in %s on line 18
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EPAREN in %s on line %d
+Warning: ereg(): REG_EPAREN in %s on line 19
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADRPT in %s on line %d
+Warning: ereg(): REG_BADRPT in %s on line 20
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADRPT in %s on line %d
+Warning: ereg(): REG_BADRPT in %s on line 21
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADRPT in %s on line %d
+Warning: ereg(): REG_BADRPT in %s on line 22
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADRPT in %s on line %d
+Warning: ereg(): REG_BADRPT in %s on line 23
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADBR in %s on line %d
+Warning: ereg(): REG_BADBR in %s on line 24
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EMPTY in %s on line %d
+Warning: ereg(): REG_EMPTY in %s on line 25
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EMPTY in %s on line %d
+Warning: ereg(): REG_EMPTY in %s on line 26
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_BADBR in %s on line %d
+Warning: ereg(): REG_BADBR in %s on line 27
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_ERANGE in %s on line %d
+Warning: ereg(): REG_ERANGE in %s on line 28
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_EESCAPE in %s on line %d
+Warning: ereg(): REG_EESCAPE in %s on line 29
bool(false)
-Deprecated: Function ereg() is deprecated in %s on line %d
-
-Warning: ereg(): REG_ERANGE in %s on line %d
+Warning: ereg(): REG_ERANGE in %s on line 30
bool(false)
string(8) "original"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_basic_001.phpt b/ext/ereg/tests/ereg_replace_basic_001.phpt
index 66b056ed60..e0a5dfb7b8 100644
--- a/ext/ereg/tests/ereg_replace_basic_001.phpt
+++ b/ext/ereg/tests/ereg_replace_basic_001.phpt
@@ -29,58 +29,32 @@ echo "Done";
--EXPECTF--
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(82) "--[this is a replacement]-- this contains some matches --[this is a replacement]--"
--> Pattern: '()'; match: ''
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(695) "[this is a replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a replacement]s[this is a replacement] [this is a replacement]c[this is a replacement]o[this is a replacement]n[this is a replacement]t[this is a replacement]a[this is a replacement]i[this is a replacement]n[this is a replacement]s[this is a replacement] [this is a replacement]s[this is a replacement]o[this is a replacement]m[this is a replacement]e[this is a replacement] [this is a replacement]m[this is a replacement]a[this is a replacement]t[this is a replacement]c[this is a replacement]h[this is a replacement]e[this is a replacement]s[this is a replacement] [this is a replacement]"
--> Pattern: '()'; match: 'abcdef'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(983) "[this is a replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a replacement]e[this is a replacement]f[this is a replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a replacement]s[this is a replacement] [this is a replacement]c[this is a replacement]o[this is a replacement]n[this is a replacement]t[this is a replacement]a[this is a replacement]i[this is a replacement]n[this is a replacement]s[this is a replacement] [this is a replacement]s[this is a replacement]o[this is a replacement]m[this is a replacement]e[this is a replacement] [this is a replacement]m[this is a replacement]a[this is a replacement]t[this is a replacement]c[this is a replacement]h[this is a replacement]e[this is a replacement]s[this is a replacement] [this is a replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a replacement]e[this is a replacement]f[this is a replacement]"
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(920) "[this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement]"
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(90) "--- [this is a replacement] --- this contains some matches --- [this is a replacement] ---"
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(74) "[this is a replacement] this contains some matches [this is a replacement]"
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(118) "[this is a replacement] this cont[this is a replacement]ins some m[this is a replacement]tches [this is a replacement]"
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(74) "[this is a replacement] this contains some matches [this is a replacement]"
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(152) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ this contains some matches 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(66) "[this is a replacement]56789 this contains some matches 0123456789"
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(66) "0123456789 this contains some matches 01234[this is a replacement]"
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(163) "
[this is a replacement]this[this is a replacement]contains[this is a replacement]some[this is a replacement]matches[this is a replacement]
[this is a replacement]"
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(254) "[this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement] "
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_basic_002.phpt b/ext/ereg/tests/ereg_replace_basic_002.phpt
index e12612d5ad..4ef9c4109e 100644
--- a/ext/ereg/tests/ereg_replace_basic_002.phpt
+++ b/ext/ereg/tests/ereg_replace_basic_002.phpt
@@ -21,21 +21,10 @@ var_dump(ereg_replace('[:alpha:]', $replacement, 'x'));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(1) "a"
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(1) "0"
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(3) "aaa"
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(2) "ba"
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(2) "ba"
-
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
string(1) "x"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_error_001.phpt b/ext/ereg/tests/ereg_replace_error_001.phpt
index d49d87f9d8..8bcc4bfb07 100644
--- a/ext/ereg/tests/ereg_replace_error_001.phpt
+++ b/ext/ereg/tests/ereg_replace_error_001.phpt
@@ -32,15 +32,11 @@ echo "Done";
-- Testing ereg_replace() function with more than expected no. of arguments --
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace() expects exactly 3 parameters, 4 given in %s on line %d
+Warning: ereg_replace() expects exactly 3 parameters, 4 given in %s on line 17
NULL
-- Testing ereg_replace() function with less than expected no. of arguments --
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace() expects exactly 3 parameters, 2 given in %s on line %d
+Warning: ereg_replace() expects exactly 3 parameters, 2 given in %s on line 23
NULL
Done
diff --git a/ext/ereg/tests/ereg_replace_error_002.phpt b/ext/ereg/tests/ereg_replace_error_002.phpt
index b161a0dcf2..6e7183c425 100644
--- a/ext/ereg/tests/ereg_replace_error_002.phpt
+++ b/ext/ereg/tests/ereg_replace_error_002.phpt
@@ -29,78 +29,48 @@ echo "Done";
--EXPECTF--
*** Testing ereg_replace() : bad REs ***
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EMPTY in %s on line %d
+Warning: ereg_replace(): REG_EMPTY in %s on line 9
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EPAREN in %s on line %d
+Warning: ereg_replace(): REG_EPAREN in %s on line 10
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EBRACK in %s on line %d
+Warning: ereg_replace(): REG_EBRACK in %s on line 11
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EPAREN in %s on line %d
+Warning: ereg_replace(): REG_EPAREN in %s on line 12
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADRPT in %s on line %d
+Warning: ereg_replace(): REG_BADRPT in %s on line 13
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADRPT in %s on line %d
+Warning: ereg_replace(): REG_BADRPT in %s on line 14
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADRPT in %s on line %d
+Warning: ereg_replace(): REG_BADRPT in %s on line 15
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADRPT in %s on line %d
+Warning: ereg_replace(): REG_BADRPT in %s on line 16
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADBR in %s on line %d
+Warning: ereg_replace(): REG_BADBR in %s on line 17
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EMPTY in %s on line %d
+Warning: ereg_replace(): REG_EMPTY in %s on line 18
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EMPTY in %s on line %d
+Warning: ereg_replace(): REG_EMPTY in %s on line 19
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_BADBR in %s on line %d
+Warning: ereg_replace(): REG_BADBR in %s on line 20
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_ERANGE in %s on line %d
+Warning: ereg_replace(): REG_ERANGE in %s on line 21
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_EESCAPE in %s on line %d
+Warning: ereg_replace(): REG_EESCAPE in %s on line 22
bool(false)
-Deprecated: Function ereg_replace() is deprecated in %s on line %d
-
-Warning: ereg_replace(): REG_ERANGE in %s on line %d
+Warning: ereg_replace(): REG_ERANGE in %s on line 23
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_variation_001.phpt b/ext/ereg/tests/ereg_replace_variation_001.phpt
index ebb1504f63..446ac86e03 100644
--- a/ext/ereg/tests/ereg_replace_variation_001.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_001.phpt
@@ -85,116 +85,91 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value 12345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value -2345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value 10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value -10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value 101234567000
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value 1.07654321E-9
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 0.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 8 - Object of class stdClass could not be converted to int, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_variation_002.phpt b/ext/ereg/tests/ereg_replace_variation_002.phpt
index 19f91c6b94..1032060f71 100644
--- a/ext/ereg/tests/ereg_replace_variation_002.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_002.phpt
@@ -85,104 +85,79 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value 12345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(6) "h9o%21"
Arg value -2345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%D7o%21"
Arg value 10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%0Ao%21"
Arg value -10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%F6o%21"
Arg value 101234567000
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(%d) "h%so%21"
Arg value 1.07654321E-9
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 0.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 8 - Object of class stdClass could not be converted to int, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_replace_variation_003.phpt b/ext/ereg/tests/ereg_replace_variation_003.phpt
index c6a606e31a..2d86c0db89 100644
--- a/ext/ereg/tests/ereg_replace_variation_003.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_003.phpt
@@ -85,109 +85,84 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(1) "0"
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(9) "new value"
Arg value 12345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(13) "new value2345"
Arg value -2345
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "-2345"
Arg value 10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(12) "new value0.5"
Arg value -10.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(13) "-new value0.5"
Arg value 101234567000
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(28) "new value0new value234567000"
Arg value 1.07654321E-9
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(29) "new value.0765432new valueE-9"
Arg value 0.5
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(3) "0.5"
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(9) "new value"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value 1
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(9) "new value"
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(0) ""
Done
diff --git a/ext/ereg/tests/ereg_variation_001.phpt b/ext/ereg/tests/ereg_variation_001.phpt
index 52b88abb71..977404d054 100644
--- a/ext/ereg/tests/ereg_variation_001.phpt
+++ b/ext/ereg/tests/ereg_variation_001.phpt
@@ -86,118 +86,93 @@ Error: 8 - Undefined variable: undefined_var, %s(65)
Error: 8 - Undefined variable: unset_var, %s(68)
Arg value 0
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(75)
int(1)
Arg value 12345
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value -2345
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value 10.5
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value -10.5
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value 101234567000
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value 1.07654321E-9
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value 0.5
-Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(75)
int(1)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(75)
int(1)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 4096 - Object of class stdClass could not be converted to string, %s(75)
Error: 8 - Object of class stdClass to string conversion, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 2 - ereg(): REG_EMPTY, %s(75)
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_variation_002.phpt b/ext/ereg/tests/ereg_variation_002.phpt
index 1b3e3fc46c..6cd63c19cb 100644
--- a/ext/ereg/tests/ereg_variation_002.phpt
+++ b/ext/ereg/tests/ereg_variation_002.phpt
@@ -85,109 +85,84 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value 12345
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value -2345
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value 10.5
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value -10.5
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value 101234567000
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value 1.07654321E-9
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value 0.5
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(74)
int(1)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Done
diff --git a/ext/ereg/tests/ereg_variation_003.phpt b/ext/ereg/tests/ereg_variation_003.phpt
index bf898d908f..42c1ae1bb1 100644
--- a/ext/ereg/tests/ereg_variation_003.phpt
+++ b/ext/ereg/tests/ereg_variation_003.phpt
@@ -83,7 +83,6 @@ Error: 8 - Undefined variable: undefined_var, %s(61)
Error: 8 - Undefined variable: unset_var, %s(64)
Arg value 0
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -93,7 +92,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -103,7 +101,6 @@ array(2) {
}
Arg value 12345
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -113,7 +110,6 @@ array(2) {
}
Arg value -2345
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -123,7 +119,6 @@ array(2) {
}
Arg value 10.5
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -133,7 +128,6 @@ array(2) {
}
Arg value -10.5
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -143,7 +137,6 @@ array(2) {
}
Arg value 101234567000
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -153,7 +146,6 @@ array(2) {
}
Arg value 1.07654321E-9
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -163,7 +155,6 @@ array(2) {
}
Arg value 0.5
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -173,7 +164,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -183,7 +173,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -193,7 +182,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -203,7 +191,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -213,7 +200,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -223,7 +209,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -233,7 +218,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -243,7 +227,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -253,7 +236,6 @@ array(2) {
}
Arg value string
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -263,7 +245,6 @@ array(2) {
}
Arg value string
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -274,7 +255,6 @@ array(2) {
Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -284,7 +264,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -294,7 +273,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function ereg() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -302,4 +280,4 @@ array(2) {
[1]=>
string(2) "el"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/ereg_variation_004.phpt b/ext/ereg/tests/ereg_variation_004.phpt
index 86f616f86f..cbbb3c15e6 100644
--- a/ext/ereg/tests/ereg_variation_004.phpt
+++ b/ext/ereg/tests/ereg_variation_004.phpt
@@ -12,8 +12,7 @@ var_dump(ereg('l{2}', 'hello', str_repeat('x',1)));
echo "Done";
?>
--EXPECTF--
-Strict Standards: Only variables should be passed by reference in %s on line %d
-Deprecated: Function ereg() is deprecated in %s on line %d
+Strict Standards: Only variables should be passed by reference in %s on line 8
int(2)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_basic.phpt b/ext/ereg/tests/eregi_basic.phpt
index 14b4b7d395..de1db0ed46 100644
--- a/ext/ereg/tests/eregi_basic.phpt
+++ b/ext/ereg/tests/eregi_basic.phpt
@@ -28,18 +28,14 @@ echo "Done";
?>
--EXPECTF--
*** Testing eregi() : basic functionality ***
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(5)
array(1) {
[0]=>
string(5) "WORDS"
}
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(10)
array(1) {
[0]=>
string(10) "MIxED CaSe"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_basic_001.phpt b/ext/ereg/tests/eregi_basic_001.phpt
index 9460b89e11..8557b8111d 100644
--- a/ext/ereg/tests/eregi_basic_001.phpt
+++ b/ext/ereg/tests/eregi_basic_001.phpt
@@ -28,8 +28,6 @@ echo "Done";
--EXPECTF--
*** Testing eregi() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(6)
array(3) {
[0]=>
@@ -40,8 +38,6 @@ array(3) {
string(1) "b"
}
--> Pattern: '()'; string: ''
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
array(2) {
[0]=>
@@ -50,8 +46,6 @@ array(2) {
bool(false)
}
--> Pattern: '()'; string: 'abcdef'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
array(2) {
[0]=>
@@ -60,16 +54,12 @@ array(2) {
bool(false)
}
--> Pattern: '[x]|[^x]'; string: 'abcdef'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
array(1) {
[0]=>
string(1) "a"
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(15)
array(6) {
[0]=>
@@ -86,48 +76,36 @@ array(6) {
string(3) "ddd"
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; string: '\`^.[$()|*+?{''
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(14)
array(1) {
[0]=>
string(14) "\`^.[$()|*+?{'"
}
--> Pattern: '\a'; string: 'a'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
array(1) {
[0]=>
string(1) "a"
}
--> Pattern: '[0-9][^0-9]'; string: '2a'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(2)
array(1) {
[0]=>
string(2) "2a"
}
--> Pattern: '^[[:alnum:]]{62,62}$'; string: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(62)
array(1) {
[0]=>
string(62) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; string: '0123456789'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(5)
array(1) {
[0]=>
string(5) "01234"
}
--> Pattern: '[[:digit:]]{5}$'; string: '0123456789'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(5)
array(1) {
[0]=>
@@ -135,19 +113,15 @@ array(1) {
}
--> Pattern: '[[:blank:]]{1,10}'; string: '
'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(2)
array(1) {
[0]=>
string(2) " "
}
--> Pattern: '[[:print:]]{3}'; string: ' a '
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(3)
array(1) {
[0]=>
string(3) " a "
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_basic_002.phpt b/ext/ereg/tests/eregi_basic_002.phpt
index f81821ab1b..8c5d0e471e 100644
--- a/ext/ereg/tests/eregi_basic_002.phpt
+++ b/ext/ereg/tests/eregi_basic_002.phpt
@@ -27,56 +27,30 @@ echo "Done";
--EXPECTF--
*** Testing eregi() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '()'; string: ''
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '()'; string: 'abcdef'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '[x]|[^x]'; string: 'abcdef'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; string: '\`^.[$()|*+?{''
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '\a'; string: 'a'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '[0-9][^0-9]'; string: '2a'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '^[[:alnum:]]{62,62}$'; string: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '^[[:digit:]]{5}'; string: '0123456789'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:digit:]]{5}$'; string: '0123456789'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:blank:]]{1,10}'; string: '
'
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
--> Pattern: '[[:print:]]{3}'; string: ' a '
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_basic_003.phpt b/ext/ereg/tests/eregi_basic_003.phpt
index f045ad4280..a4861caa83 100644
--- a/ext/ereg/tests/eregi_basic_003.phpt
+++ b/ext/ereg/tests/eregi_basic_003.phpt
@@ -19,10 +19,7 @@ var_dump(count($regs));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function eregi() is deprecated in %s on line %d
int(1)
-
-Deprecated: Function eregi() is deprecated in %s on line %d
int(2048)
int(2049)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_basic_004.phpt b/ext/ereg/tests/eregi_basic_004.phpt
index 78d8f5e547..ad411e21f5 100644
--- a/ext/ereg/tests/eregi_basic_004.phpt
+++ b/ext/ereg/tests/eregi_basic_004.phpt
@@ -22,19 +22,10 @@ var_dump($regs);
echo "Done";
?>
--EXPECTF--
-Deprecated: Function eregi() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function eregi() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function eregi() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function eregi() is deprecated in %s on line %d
bool(false)
-
-Deprecated: Function eregi() is deprecated in %s on line %d
bool(false)
string(8) "original"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_error_001.phpt b/ext/ereg/tests/eregi_error_001.phpt
index fed3a725c2..0809d8b67e 100644
--- a/ext/ereg/tests/eregi_error_001.phpt
+++ b/ext/ereg/tests/eregi_error_001.phpt
@@ -35,15 +35,11 @@ echo "Done";
-- Testing eregi() function with more than expected no. of arguments --
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi() expects at most 3 parameters, 4 given in %s on line %d
+Warning: eregi() expects at most 3 parameters, 4 given in %s on line 21
NULL
-- Testing eregi() function with less than expected no. of arguments --
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi() expects at least 2 parameters, 1 given in %s on line %d
+Warning: eregi() expects at least 2 parameters, 1 given in %s on line 26
NULL
Done
diff --git a/ext/ereg/tests/eregi_error_002.phpt b/ext/ereg/tests/eregi_error_002.phpt
index 2764741d5d..3c3bd7c992 100644
--- a/ext/ereg/tests/eregi_error_002.phpt
+++ b/ext/ereg/tests/eregi_error_002.phpt
@@ -40,79 +40,49 @@ echo "Done";
--EXPECTF--
*** Testing eregi() : error conditions ***
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EMPTY in %s on line %d
+Warning: eregi(): REG_EMPTY in %s on line 16
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EPAREN in %s on line %d
+Warning: eregi(): REG_EPAREN in %s on line 17
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EBRACK in %s on line %d
+Warning: eregi(): REG_EBRACK in %s on line 18
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EPAREN in %s on line %d
+Warning: eregi(): REG_EPAREN in %s on line 19
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADRPT in %s on line %d
+Warning: eregi(): REG_BADRPT in %s on line 20
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADRPT in %s on line %d
+Warning: eregi(): REG_BADRPT in %s on line 21
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADRPT in %s on line %d
+Warning: eregi(): REG_BADRPT in %s on line 22
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADRPT in %s on line %d
+Warning: eregi(): REG_BADRPT in %s on line 23
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADBR in %s on line %d
+Warning: eregi(): REG_BADBR in %s on line 24
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EMPTY in %s on line %d
+Warning: eregi(): REG_EMPTY in %s on line 25
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EMPTY in %s on line %d
+Warning: eregi(): REG_EMPTY in %s on line 26
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_BADBR in %s on line %d
+Warning: eregi(): REG_BADBR in %s on line 27
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_ERANGE in %s on line %d
+Warning: eregi(): REG_ERANGE in %s on line 28
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_EESCAPE in %s on line %d
+Warning: eregi(): REG_EESCAPE in %s on line 29
bool(false)
-Deprecated: Function eregi() is deprecated in %s on line %d
-
-Warning: eregi(): REG_ERANGE in %s on line %d
+Warning: eregi(): REG_ERANGE in %s on line 30
bool(false)
string(8) "original"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_basic.phpt b/ext/ereg/tests/eregi_replace_basic.phpt
index f965c8f03a..f9f025fe98 100644
--- a/ext/ereg/tests/eregi_replace_basic.phpt
+++ b/ext/ereg/tests/eregi_replace_basic.phpt
@@ -32,7 +32,5 @@ String Before...
string(50) "UPPERCASE WORDS, lowercase words, MIxED CaSe woRdS"
String after...
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(65) "UPPERCASE_characterS, lowercase_characters, MIxED CaSe_characterS"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_basic_001.phpt b/ext/ereg/tests/eregi_replace_basic_001.phpt
index 710e39e2de..bffcd06377 100644
--- a/ext/ereg/tests/eregi_replace_basic_001.phpt
+++ b/ext/ereg/tests/eregi_replace_basic_001.phpt
@@ -29,58 +29,32 @@ echo "Done";
--EXPECTF--
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(82) "--[this is a replacement]-- this contains some matches --[this is a replacement]--"
--> Pattern: '()'; match: ''
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(695) "[this is a replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a replacement]s[this is a replacement] [this is a replacement]c[this is a replacement]o[this is a replacement]n[this is a replacement]t[this is a replacement]a[this is a replacement]i[this is a replacement]n[this is a replacement]s[this is a replacement] [this is a replacement]s[this is a replacement]o[this is a replacement]m[this is a replacement]e[this is a replacement] [this is a replacement]m[this is a replacement]a[this is a replacement]t[this is a replacement]c[this is a replacement]h[this is a replacement]e[this is a replacement]s[this is a replacement] [this is a replacement]"
--> Pattern: '()'; match: 'abcdef'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(983) "[this is a replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a replacement]e[this is a replacement]f[this is a replacement] [this is a replacement]t[this is a replacement]h[this is a replacement]i[this is a replacement]s[this is a replacement] [this is a replacement]c[this is a replacement]o[this is a replacement]n[this is a replacement]t[this is a replacement]a[this is a replacement]i[this is a replacement]n[this is a replacement]s[this is a replacement] [this is a replacement]s[this is a replacement]o[this is a replacement]m[this is a replacement]e[this is a replacement] [this is a replacement]m[this is a replacement]a[this is a replacement]t[this is a replacement]c[this is a replacement]h[this is a replacement]e[this is a replacement]s[this is a replacement] [this is a replacement]a[this is a replacement]b[this is a replacement]c[this is a replacement]d[this is a replacement]e[this is a replacement]f[this is a replacement]"
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(920) "[this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement]"
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(90) "--- [this is a replacement] --- this contains some matches --- [this is a replacement] ---"
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(74) "[this is a replacement] this contains some matches [this is a replacement]"
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(118) "[this is a replacement] this cont[this is a replacement]ins some m[this is a replacement]tches [this is a replacement]"
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(74) "[this is a replacement] this contains some matches [this is a replacement]"
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(152) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ this contains some matches 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(66) "[this is a replacement]56789 this contains some matches 0123456789"
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(66) "0123456789 this contains some matches 01234[this is a replacement]"
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(163) "
[this is a replacement]this[this is a replacement]contains[this is a replacement]some[this is a replacement]matches[this is a replacement]
[this is a replacement]"
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(254) "[this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement][this is a replacement] "
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_basic_002.phpt b/ext/ereg/tests/eregi_replace_basic_002.phpt
index 7683e3323e..7a4bd3d841 100644
--- a/ext/ereg/tests/eregi_replace_basic_002.phpt
+++ b/ext/ereg/tests/eregi_replace_basic_002.phpt
@@ -20,18 +20,9 @@ var_dump(eregi_replace('[:alpha:]', $replacement, 'x'));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(1) "0"
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(3) "aaa"
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(2) "ba"
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(2) "ba"
-
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
string(1) "x"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_error_001.phpt b/ext/ereg/tests/eregi_replace_error_001.phpt
index ff94833555..d4983abe4a 100644
--- a/ext/ereg/tests/eregi_replace_error_001.phpt
+++ b/ext/ereg/tests/eregi_replace_error_001.phpt
@@ -32,15 +32,11 @@ echo "Done";
-- Testing eregi_replace() function with more than expected no. of arguments --
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace() expects exactly 3 parameters, 4 given in %s on line %d
+Warning: eregi_replace() expects exactly 3 parameters, 4 given in %s on line 17
NULL
-- Testing eregi_replace() function with less than expected no. of arguments --
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace() expects exactly 3 parameters, 2 given in %s on line %d
+Warning: eregi_replace() expects exactly 3 parameters, 2 given in %s on line 23
NULL
Done
diff --git a/ext/ereg/tests/eregi_replace_error_002.phpt b/ext/ereg/tests/eregi_replace_error_002.phpt
index 32c58613d2..35684b8bde 100644
--- a/ext/ereg/tests/eregi_replace_error_002.phpt
+++ b/ext/ereg/tests/eregi_replace_error_002.phpt
@@ -29,78 +29,48 @@ echo "Done";
--EXPECTF--
*** Testing eregi_replace() : bad REs ***
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EMPTY in %s on line %d
+Warning: eregi_replace(): REG_EMPTY in %s on line 9
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EPAREN in %s on line %d
+Warning: eregi_replace(): REG_EPAREN in %s on line 10
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EBRACK in %s on line %d
+Warning: eregi_replace(): REG_EBRACK in %s on line 11
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EPAREN in %s on line %d
+Warning: eregi_replace(): REG_EPAREN in %s on line 12
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADRPT in %s on line %d
+Warning: eregi_replace(): REG_BADRPT in %s on line 13
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADRPT in %s on line %d
+Warning: eregi_replace(): REG_BADRPT in %s on line 14
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADRPT in %s on line %d
+Warning: eregi_replace(): REG_BADRPT in %s on line 15
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADRPT in %s on line %d
+Warning: eregi_replace(): REG_BADRPT in %s on line 16
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADBR in %s on line %d
+Warning: eregi_replace(): REG_BADBR in %s on line 17
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EMPTY in %s on line %d
+Warning: eregi_replace(): REG_EMPTY in %s on line 18
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EMPTY in %s on line %d
+Warning: eregi_replace(): REG_EMPTY in %s on line 19
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_BADBR in %s on line %d
+Warning: eregi_replace(): REG_BADBR in %s on line 20
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_ERANGE in %s on line %d
+Warning: eregi_replace(): REG_ERANGE in %s on line 21
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_EESCAPE in %s on line %d
+Warning: eregi_replace(): REG_EESCAPE in %s on line 22
bool(false)
-Deprecated: Function eregi_replace() is deprecated in %s on line %d
-
-Warning: eregi_replace(): REG_ERANGE in %s on line %d
+Warning: eregi_replace(): REG_ERANGE in %s on line 23
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_variation_001.phpt b/ext/ereg/tests/eregi_replace_variation_001.phpt
index af2935db6e..87f9aa277c 100644
--- a/ext/ereg/tests/eregi_replace_variation_001.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_001.phpt
@@ -85,116 +85,91 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value 12345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value -2345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value 10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value -10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value 101234567000
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value 1.07654321E-9
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 0.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 8 - Object of class stdClass could not be converted to int, %s(74)
string(8) "original"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_variation_002.phpt b/ext/ereg/tests/eregi_replace_variation_002.phpt
index e14c5a185b..4186d0fd3d 100644
--- a/ext/ereg/tests/eregi_replace_variation_002.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_002.phpt
@@ -85,104 +85,79 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value 12345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(6) "h9o%21"
Arg value -2345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%D7o%21"
Arg value 10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%0Ao%21"
Arg value -10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%F6o%21"
Arg value 101234567000
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(%d) "h%so%21"
Arg value 1.07654321E-9
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 0.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 8 - Object of class stdClass could not be converted to int, %s(74)
string(8) "h%01o%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_replace_variation_003.phpt b/ext/ereg/tests/eregi_replace_variation_003.phpt
index 8e8e5086bd..61d468454b 100644
--- a/ext/ereg/tests/eregi_replace_variation_003.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_003.phpt
@@ -85,109 +85,84 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(1) "0"
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(9) "new value"
Arg value 12345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(13) "new value2345"
Arg value -2345
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "-2345"
Arg value 10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(12) "new value0.5"
Arg value -10.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(13) "-new value0.5"
Arg value 101234567000
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(28) "new value0new value234567000"
Arg value 1.07654321E-9
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(29) "new value.0765432new valueE-9"
Arg value 0.5
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(3) "0.5"
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(9) "new value"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value 1
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(9) "new value"
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Arg value
-Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(0) ""
Done
diff --git a/ext/ereg/tests/eregi_variation_001.phpt b/ext/ereg/tests/eregi_variation_001.phpt
index 54e80bb16e..ea8b8440dc 100644
--- a/ext/ereg/tests/eregi_variation_001.phpt
+++ b/ext/ereg/tests/eregi_variation_001.phpt
@@ -86,118 +86,93 @@ Error: 8 - Undefined variable: undefined_var, %s(65)
Error: 8 - Undefined variable: unset_var, %s(68)
Arg value 0
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(75)
int(1)
Arg value 12345
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value -2345
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value 10.5
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value -10.5
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value 101234567000
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value 1.07654321E-9
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value 0.5
-Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(75)
int(1)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(75)
int(1)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 4096 - Object of class stdClass could not be converted to string, %s(75)
Error: 8 - Object of class stdClass to string conversion, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 2 - eregi(): REG_EMPTY, %s(75)
bool(false)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_variation_002.phpt b/ext/ereg/tests/eregi_variation_002.phpt
index bb7fc35636..7ca31cf21a 100644
--- a/ext/ereg/tests/eregi_variation_002.phpt
+++ b/ext/ereg/tests/eregi_variation_002.phpt
@@ -85,109 +85,84 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value 12345
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value -2345
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value 10.5
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value -10.5
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value 101234567000
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value 1.07654321E-9
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value 0.5
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(74)
int(1)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Done
diff --git a/ext/ereg/tests/eregi_variation_003.phpt b/ext/ereg/tests/eregi_variation_003.phpt
index 97777e22ff..43785871a9 100644
--- a/ext/ereg/tests/eregi_variation_003.phpt
+++ b/ext/ereg/tests/eregi_variation_003.phpt
@@ -83,7 +83,6 @@ Error: 8 - Undefined variable: undefined_var, %s(61)
Error: 8 - Undefined variable: unset_var, %s(64)
Arg value 0
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -93,7 +92,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -103,7 +101,6 @@ array(2) {
}
Arg value 12345
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -113,7 +110,6 @@ array(2) {
}
Arg value -2345
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -123,7 +119,6 @@ array(2) {
}
Arg value 10.5
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -133,7 +128,6 @@ array(2) {
}
Arg value -10.5
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -143,7 +137,6 @@ array(2) {
}
Arg value 101234567000
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -153,7 +146,6 @@ array(2) {
}
Arg value 1.07654321E-9
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -163,7 +155,6 @@ array(2) {
}
Arg value 0.5
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -173,7 +164,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -183,7 +173,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -193,7 +182,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -203,7 +191,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -213,7 +200,6 @@ array(2) {
}
Arg value 1
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -223,7 +209,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -233,7 +218,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -243,7 +227,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -253,7 +236,6 @@ array(2) {
}
Arg value string
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -263,7 +245,6 @@ array(2) {
}
Arg value string
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -274,7 +255,6 @@ array(2) {
Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -284,7 +264,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -294,7 +273,6 @@ array(2) {
}
Arg value
-Error: 8192 - Function eregi() is deprecated, %s(71)
int(6)
array(2) {
[0]=>
@@ -302,4 +280,4 @@ array(2) {
[1]=>
string(2) "el"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/eregi_variation_004.phpt b/ext/ereg/tests/eregi_variation_004.phpt
index 7378c36d3d..bf4f036950 100644
--- a/ext/ereg/tests/eregi_variation_004.phpt
+++ b/ext/ereg/tests/eregi_variation_004.phpt
@@ -12,8 +12,7 @@ var_dump(eregi('l{2}', 'hello', str_repeat('x',1)));
echo "Done";
?>
--EXPECTF--
-Strict Standards: Only variables should be passed by reference in %s on line %d
-Deprecated: Function eregi() is deprecated in %s on line %d
+Strict Standards: Only variables should be passed by reference in %s on line 8
int(2)
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/split_basic_001.phpt b/ext/ereg/tests/split_basic_001.phpt
index 1c11f71ca8..e122e2c15b 100644
--- a/ext/ereg/tests/split_basic_001.phpt
+++ b/ext/ereg/tests/split_basic_001.phpt
@@ -28,8 +28,6 @@ echo "Done";
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(2) "--"
@@ -39,21 +37,15 @@ array(2) {
--> Pattern: '()'; match: ''
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): Invalid Regular Expression in %s on line %d
+Warning: split(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '()'; match: 'abcdef'
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): Invalid Regular Expression in %s on line %d
+Warning: split(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -62,8 +54,6 @@ array(2) {
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
@@ -72,8 +62,6 @@ array(2) {
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -82,8 +70,6 @@ array(2) {
}
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -92,8 +78,6 @@ array(2) {
}
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -102,16 +86,12 @@ array(2) {
}
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -120,8 +100,6 @@ array(2) {
}
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(35) "0123456789 |1| 0123456789 |2| 01234"
@@ -131,8 +109,6 @@ array(2) {
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(1) "
@@ -144,8 +120,6 @@ array(2) {
}
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/split_basic_002.phpt b/ext/ereg/tests/split_basic_002.phpt
index 443a6b6b92..110007d3e5 100644
--- a/ext/ereg/tests/split_basic_002.phpt
+++ b/ext/ereg/tests/split_basic_002.phpt
@@ -28,8 +28,6 @@ echo "Done";
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(4) {
[0]=>
string(2) "--"
@@ -43,21 +41,15 @@ array(4) {
--> Pattern: '()'; match: ''
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): Invalid Regular Expression in %s on line %d
+Warning: split(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '()'; match: 'abcdef'
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): Invalid Regular Expression in %s on line %d
+Warning: split(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(29) {
[0]=>
string(0) ""
@@ -120,8 +112,6 @@ array(29) {
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(4) {
[0]=>
string(4) "--- "
@@ -134,8 +124,6 @@ array(4) {
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function split() is deprecated in %s on line %d
array(4) {
[0]=>
string(0) ""
@@ -148,8 +136,6 @@ array(4) {
}
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(4) {
[0]=>
string(0) ""
@@ -162,8 +148,6 @@ array(4) {
}
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(6) {
[0]=>
string(0) ""
@@ -180,16 +164,12 @@ array(6) {
}
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(3) {
[0]=>
string(0) ""
@@ -200,8 +180,6 @@ array(3) {
}
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(2) {
[0]=>
string(35) "0123456789 |1| 0123456789 |2| 01234"
@@ -211,8 +189,6 @@ array(2) {
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function split() is deprecated in %s on line %d
array(6) {
[0]=>
string(1) "
@@ -232,8 +208,6 @@ array(6) {
}
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function split() is deprecated in %s on line %d
array(7) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/split_basic_003.phpt b/ext/ereg/tests/split_basic_003.phpt
index 8767144f7d..4d36fcddb3 100644
--- a/ext/ereg/tests/split_basic_003.phpt
+++ b/ext/ereg/tests/split_basic_003.phpt
@@ -21,39 +21,28 @@ var_dump(split('[:alpha:]', '--- x ---'));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(7) "-- a --"
}
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(7) "-- 0 --"
}
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(11) "--- aaa ---"
}
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(10) "--- ba ---"
}
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(10) "--- ba ---"
}
-
-Deprecated: Function split() is deprecated in %s on line %d
array(1) {
[0]=>
string(9) "--- x ---"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/split_error_001.phpt b/ext/ereg/tests/split_error_001.phpt
index 2575717a22..cc226df6cb 100644
--- a/ext/ereg/tests/split_error_001.phpt
+++ b/ext/ereg/tests/split_error_001.phpt
@@ -31,15 +31,11 @@ echo "Done";
-- Testing split() function with more than expected no. of arguments --
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split() expects at most 3 parameters, 4 given in %s on line %d
+Warning: split() expects at most 3 parameters, 4 given in %s on line 17
NULL
-- Testing split() function with less than expected no. of arguments --
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split() expects at least 2 parameters, 1 given in %s on line %d
+Warning: split() expects at least 2 parameters, 1 given in %s on line 22
NULL
Done
diff --git a/ext/ereg/tests/split_error_002.phpt b/ext/ereg/tests/split_error_002.phpt
index 9eaac59e44..c0a4529cd7 100644
--- a/ext/ereg/tests/split_error_002.phpt
+++ b/ext/ereg/tests/split_error_002.phpt
@@ -40,79 +40,49 @@ echo "Done";
--EXPECTF--
*** Testing split() : error conditions ***
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EMPTY in %s on line %d
+Warning: split(): REG_EMPTY in %s on line 16
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EPAREN in %s on line %d
+Warning: split(): REG_EPAREN in %s on line 17
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EBRACK in %s on line %d
+Warning: split(): REG_EBRACK in %s on line 18
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EPAREN in %s on line %d
+Warning: split(): REG_EPAREN in %s on line 19
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_BADRPT in %s on line %d
+Warning: split(): REG_BADRPT in %s on line 20
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_BADRPT in %s on line %d
+Warning: split(): REG_BADRPT in %s on line 21
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_BADRPT in %s on line %d
+Warning: split(): REG_BADRPT in %s on line 22
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split() expects parameter 3 to be long, string given in %s on line %d
+Warning: split() expects parameter 3 to be long, string given in %s on line 23
NULL
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_BADBR in %s on line %d
+Warning: split(): REG_BADBR in %s on line 24
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EMPTY in %s on line %d
+Warning: split(): REG_EMPTY in %s on line 25
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EMPTY in %s on line %d
+Warning: split(): REG_EMPTY in %s on line 26
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_BADBR in %s on line %d
+Warning: split(): REG_BADBR in %s on line 27
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_ERANGE in %s on line %d
+Warning: split(): REG_ERANGE in %s on line 28
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split(): REG_EESCAPE in %s on line %d
+Warning: split(): REG_EESCAPE in %s on line 29
bool(false)
-Deprecated: Function split() is deprecated in %s on line %d
-
-Warning: split() expects parameter 3 to be long, string given in %s on line %d
+Warning: split() expects parameter 3 to be long, string given in %s on line 30
NULL
string(8) "original"
Done
diff --git a/ext/ereg/tests/split_variation_001.phpt b/ext/ereg/tests/split_variation_001.phpt
index 454c4b4250..542f740b1d 100644
--- a/ext/ereg/tests/split_variation_001.phpt
+++ b/ext/ereg/tests/split_variation_001.phpt
@@ -85,14 +85,12 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -105,91 +103,76 @@ array(4) {
}
Arg value 12345
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value -2345
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 10.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value -10.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 101234567000
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 1.07654321E-9
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 0.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -202,12 +185,10 @@ array(4) {
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -220,33 +201,27 @@ array(4) {
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split(): REG_EMPTY, %s(74)
bool(false)
Done
diff --git a/ext/ereg/tests/split_variation_002.phpt b/ext/ereg/tests/split_variation_002.phpt
index 2a07353136..7ccf2973fc 100644
--- a/ext/ereg/tests/split_variation_002.phpt
+++ b/ext/ereg/tests/split_variation_002.phpt
@@ -85,56 +85,48 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "0"
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value 12345
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "12345"
}
Arg value -2345
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "-2345"
}
Arg value 10.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(4) "10.5"
}
Arg value -10.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "-10.5"
}
Arg value 101234567000
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(12) "101234567000"
}
Arg value 1.07654321E-9
-Error: 8192 - Function split() is deprecated, %s(74)
array(2) {
[0]=>
string(10) "1.07654321"
@@ -143,88 +135,74 @@ array(2) {
}
Arg value 0.5
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(3) "0.5"
}
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
@@ -232,19 +210,16 @@ array(1) {
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/split_variation_003.phpt b/ext/ereg/tests/split_variation_003.phpt
index 480db35bc9..630d8ab2a2 100644
--- a/ext/ereg/tests/split_variation_003.phpt
+++ b/ext/ereg/tests/split_variation_003.phpt
@@ -82,7 +82,6 @@ echo "Done";
*** Testing split() : usage variations ***
Arg value 10.5
-Error: 8192 - Function split() is deprecated, %s(73)
array(5) {
[0]=>
string(1) "1"
@@ -97,130 +96,109 @@ array(5) {
}
Arg value -10.5
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1.07654321E-9
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 0.5
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Arg value Array
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value string
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value string
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
NULL
Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, object given, %s(73)
NULL
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function split() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/ereg/tests/split_variation_004.phpt b/ext/ereg/tests/split_variation_004.phpt
index 6b9a869784..fbd76277ae 100644
--- a/ext/ereg/tests/split_variation_004.phpt
+++ b/ext/ereg/tests/split_variation_004.phpt
@@ -25,17 +25,14 @@ echo "Done";
?>
--EXPECTF--
*** Testing split() : usage variations ***
-Error: 8192 - Function split() is deprecated, %s(16)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function split() is deprecated, %s(17)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function split() is deprecated, %s(18)
array(5) {
[0]=>
string(1) "1"
@@ -48,4 +45,4 @@ array(5) {
[4]=>
string(1) "5"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/spliti_basic_001.phpt b/ext/ereg/tests/spliti_basic_001.phpt
index 743bd66212..04f138d4e9 100644
--- a/ext/ereg/tests/spliti_basic_001.phpt
+++ b/ext/ereg/tests/spliti_basic_001.phpt
@@ -28,8 +28,6 @@ echo "Done";
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(2) "--"
@@ -39,21 +37,15 @@ array(2) {
--> Pattern: '()'; match: ''
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): Invalid Regular Expression in %s on line %d
+Warning: spliti(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '()'; match: 'abcdef'
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): Invalid Regular Expression in %s on line %d
+Warning: spliti(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -62,8 +54,6 @@ array(2) {
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
@@ -72,8 +62,6 @@ array(2) {
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -82,8 +70,6 @@ array(2) {
}
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -92,8 +78,6 @@ array(2) {
}
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -102,16 +86,12 @@ array(2) {
}
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
@@ -120,8 +100,6 @@ array(2) {
}
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(35) "0123456789 |1| 0123456789 |2| 01234"
@@ -131,8 +109,6 @@ array(2) {
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(1) "
@@ -144,8 +120,6 @@ array(2) {
}
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/spliti_basic_002.phpt b/ext/ereg/tests/spliti_basic_002.phpt
index df61a42cae..79784d324d 100644
--- a/ext/ereg/tests/spliti_basic_002.phpt
+++ b/ext/ereg/tests/spliti_basic_002.phpt
@@ -28,8 +28,6 @@ echo "Done";
*** Testing ereg() : basic functionality ***
--> Pattern: '..(a|b|c)(a|b|c)..'; match: '--- ab ---'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(4) {
[0]=>
string(2) "--"
@@ -43,21 +41,15 @@ array(4) {
--> Pattern: '()'; match: ''
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): Invalid Regular Expression in %s on line %d
+Warning: spliti(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '()'; match: 'abcdef'
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): Invalid Regular Expression in %s on line %d
+Warning: spliti(): Invalid Regular Expression in %s on line 19
bool(false)
--> Pattern: '[x]|[^x]'; match: 'abcdef'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(29) {
[0]=>
string(0) ""
@@ -120,8 +112,6 @@ array(29) {
}
--> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; match: '--- aaa bbb ccc ddd ---'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(4) {
[0]=>
string(4) "--- "
@@ -134,8 +124,6 @@ array(4) {
}
--> Pattern: '\\\`\^\.\[\$\(\)\|\*\+\?\{\''; match: '\`^.[$()|*+?{''
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(4) {
[0]=>
string(0) ""
@@ -148,8 +136,6 @@ array(4) {
}
--> Pattern: '\a'; match: 'a'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(4) {
[0]=>
string(0) ""
@@ -162,8 +148,6 @@ array(4) {
}
--> Pattern: '[0-9][^0-9]'; match: '2a'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(6) {
[0]=>
string(0) ""
@@ -180,16 +164,12 @@ array(6) {
}
--> Pattern: '^[[:alnum:]]{62,62}$'; match: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(196) "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |1| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ |2| 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
}
--> Pattern: '^[[:digit:]]{5}'; match: '0123456789'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(3) {
[0]=>
string(0) ""
@@ -200,8 +180,6 @@ array(3) {
}
--> Pattern: '[[:digit:]]{5}$'; match: '0123456789'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(35) "0123456789 |1| 0123456789 |2| 01234"
@@ -211,8 +189,6 @@ array(2) {
--> Pattern: '[[:blank:]]{1,10}'; match: '
'
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(6) {
[0]=>
string(1) "
@@ -232,8 +208,6 @@ array(6) {
}
--> Pattern: '[[:print:]]{3}'; match: ' a '
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(7) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/spliti_basic_003.phpt b/ext/ereg/tests/spliti_basic_003.phpt
index 39bd1dcbf7..143f1a1961 100644
--- a/ext/ereg/tests/spliti_basic_003.phpt
+++ b/ext/ereg/tests/spliti_basic_003.phpt
@@ -20,33 +20,24 @@ var_dump(spliti('[:alpha:]', '--- x ---'));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(7) "-- 0 --"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(11) "--- aaa ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(10) "--- ba ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(10) "--- ba ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(1) {
[0]=>
string(9) "--- x ---"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/spliti_basic_004.phpt b/ext/ereg/tests/spliti_basic_004.phpt
index ed07193194..95edc158d9 100644
--- a/ext/ereg/tests/spliti_basic_004.phpt
+++ b/ext/ereg/tests/spliti_basic_004.phpt
@@ -18,35 +18,28 @@ var_dump(spliti('[[:upper:]]', '--- a ---'));
echo "Done";
?>
--EXPECTF--
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
[1]=>
string(4) " ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
[1]=>
string(4) " ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
[1]=>
string(4) " ---"
}
-
-Deprecated: Function spliti() is deprecated in %s on line %d
array(2) {
[0]=>
string(4) "--- "
[1]=>
string(4) " ---"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/spliti_error_001.phpt b/ext/ereg/tests/spliti_error_001.phpt
index cd4e6a99e6..104364eec5 100644
--- a/ext/ereg/tests/spliti_error_001.phpt
+++ b/ext/ereg/tests/spliti_error_001.phpt
@@ -31,15 +31,11 @@ echo "Done";
-- Testing spliti() function with more than expected no. of arguments --
-Deprecated: Function spliti() is deprecated in %s on line %d
-
Warning: spliti() expects at most 3 parameters, 4 given in %s on line %d
NULL
-- Testing spliti() function with less than expected no. of arguments --
-Deprecated: Function spliti() is deprecated in %s on line %d
-
Warning: spliti() expects at least 2 parameters, 1 given in %s on line %d
NULL
Done
diff --git a/ext/ereg/tests/spliti_error_002.phpt b/ext/ereg/tests/spliti_error_002.phpt
index 19dd171655..7a7045dc1e 100644
--- a/ext/ereg/tests/spliti_error_002.phpt
+++ b/ext/ereg/tests/spliti_error_002.phpt
@@ -40,78 +40,48 @@ echo "Done";
--EXPECTF--
*** Testing spliti() : error conditions ***
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EMPTY in %s on line %d
+Warning: spliti(): REG_EMPTY in %s on line 16
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EPAREN in %s on line %d
+Warning: spliti(): REG_EPAREN in %s on line 17
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EBRACK in %s on line %d
+Warning: spliti(): REG_EBRACK in %s on line 18
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EPAREN in %s on line %d
+Warning: spliti(): REG_EPAREN in %s on line 19
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_BADRPT in %s on line %d
+Warning: spliti(): REG_BADRPT in %s on line 20
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_BADRPT in %s on line %d
+Warning: spliti(): REG_BADRPT in %s on line 21
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_BADRPT in %s on line %d
+Warning: spliti(): REG_BADRPT in %s on line 22
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
Warning: spliti() expects parameter 3 to be long, string given in %s on line %d
NULL
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_BADBR in %s on line %d
+Warning: spliti(): REG_BADBR in %s on line 24
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EMPTY in %s on line %d
+Warning: spliti(): REG_EMPTY in %s on line 25
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EMPTY in %s on line %d
+Warning: spliti(): REG_EMPTY in %s on line 26
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_BADBR in %s on line %d
+Warning: spliti(): REG_BADBR in %s on line 27
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_ERANGE in %s on line %d
+Warning: spliti(): REG_ERANGE in %s on line 28
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
-Warning: spliti(): REG_EESCAPE in %s on line %d
+Warning: spliti(): REG_EESCAPE in %s on line 29
bool(false)
-Deprecated: Function spliti() is deprecated in %s on line %d
-
Warning: spliti() expects parameter 3 to be long, string given in %s on line %d
NULL
string(8) "original"
diff --git a/ext/ereg/tests/spliti_variation_001.phpt b/ext/ereg/tests/spliti_variation_001.phpt
index 08c6ba0d99..4facee826f 100644
--- a/ext/ereg/tests/spliti_variation_001.phpt
+++ b/ext/ereg/tests/spliti_variation_001.phpt
@@ -85,14 +85,12 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -105,91 +103,76 @@ array(4) {
}
Arg value 12345
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value -2345
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 10.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value -10.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 101234567000
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 1.07654321E-9
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value 0.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -202,12 +185,10 @@ array(4) {
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(4) {
[0]=>
string(0) ""
@@ -220,33 +201,27 @@ array(4) {
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti(): REG_EMPTY, %s(74)
bool(false)
Done
diff --git a/ext/ereg/tests/spliti_variation_002.phpt b/ext/ereg/tests/spliti_variation_002.phpt
index 03fc131e94..b59ef6d81e 100644
--- a/ext/ereg/tests/spliti_variation_002.phpt
+++ b/ext/ereg/tests/spliti_variation_002.phpt
@@ -85,56 +85,48 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
Error: 8 - Undefined variable: unset_var, %s(67)
Arg value 0
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "0"
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value 12345
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "12345"
}
Arg value -2345
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "-2345"
}
Arg value 10.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(4) "10.5"
}
Arg value -10.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(5) "-10.5"
}
Arg value 101234567000
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(12) "101234567000"
}
Arg value 1.07654321E-9
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(2) {
[0]=>
string(10) "1.07654321"
@@ -143,88 +135,74 @@ array(2) {
}
Arg value 0.5
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(3) "0.5"
}
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(1) "1"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
@@ -232,19 +210,16 @@ array(1) {
Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, object given, %s(74)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(74)
array(1) {
[0]=>
string(0) ""
diff --git a/ext/ereg/tests/spliti_variation_003.phpt b/ext/ereg/tests/spliti_variation_003.phpt
index beee4c643e..7e3f0071c4 100644
--- a/ext/ereg/tests/spliti_variation_003.phpt
+++ b/ext/ereg/tests/spliti_variation_003.phpt
@@ -82,7 +82,6 @@ echo "Done";
*** Testing spliti() : usage variations ***
Arg value 10.5
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(5) {
[0]=>
string(1) "1"
@@ -97,130 +96,109 @@ array(5) {
}
Arg value -10.5
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1.07654321E-9
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 0.5
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(73)
-Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s.php(73)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(73)
-Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s.php(73)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(73)
-Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s.php(73)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(73)
-Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s.php(73)
NULL
Arg value Array
-Error: 8192 - Function spliti() is deprecated, %s(73)
-Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s.php(73)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value 1
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value string
-Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
NULL
Arg value string
-Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
NULL
Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, object given, %s(73)
NULL
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Arg value
-Error: 8192 - Function spliti() is deprecated, %s(73)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Done \ No newline at end of file
+Done
diff --git a/ext/ereg/tests/spliti_variation_004.phpt b/ext/ereg/tests/spliti_variation_004.phpt
index e9b33d4334..7a331be367 100644
--- a/ext/ereg/tests/spliti_variation_004.phpt
+++ b/ext/ereg/tests/spliti_variation_004.phpt
@@ -25,17 +25,14 @@ echo "Done";
?>
--EXPECTF--
*** Testing spliti() : usage variations ***
-Error: 8192 - Function spliti() is deprecated, %s(16)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function spliti() is deprecated, %s(17)
array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function spliti() is deprecated, %s(18)
array(5) {
[0]=>
string(1) "1"
@@ -48,4 +45,4 @@ array(5) {
[4]=>
string(1) "5"
}
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/sql_regcase_basic_001.phpt b/ext/ereg/tests/sql_regcase_basic_001.phpt
index 5a04724b75..7657fa28c7 100644
--- a/ext/ereg/tests/sql_regcase_basic_001.phpt
+++ b/ext/ereg/tests/sql_regcase_basic_001.phpt
@@ -21,7 +21,5 @@ echo "Done";
?>
--EXPECTF--
*** Testing sql_regcase() : basic functionality ***
-
-Deprecated: Function sql_regcase() is deprecated in %s on line %d
string(39) "[Ss][Tt][Rr][Ii][Nn][Gg]_[Vv][Aa][Ll]-0"
-Done
+Done \ No newline at end of file
diff --git a/ext/ereg/tests/sql_regcase_error_001.phpt b/ext/ereg/tests/sql_regcase_error_001.phpt
index 6ac71f27c1..9fb1506004 100644
--- a/ext/ereg/tests/sql_regcase_error_001.phpt
+++ b/ext/ereg/tests/sql_regcase_error_001.phpt
@@ -27,15 +27,11 @@ echo "Done";
-- Testing sql_regcase() function with Zero arguments --
-Deprecated: Function sql_regcase() is deprecated in %s on line %d
-
-Warning: sql_regcase() expects exactly 1 parameter, 0 given in %s on line %d
+Warning: sql_regcase() expects exactly 1 parameter, 0 given in %s.php on line 12
NULL
-- Testing sql_regcase() function with more than expected no. of arguments --
-Deprecated: Function sql_regcase() is deprecated in %s on line %d
-
-Warning: sql_regcase() expects exactly 1 parameter, 2 given in %s on line %d
+Warning: sql_regcase() expects exactly 1 parameter, 2 given in %s.php on line 18
NULL
Done
diff --git a/ext/ereg/tests/sql_regcase_variation_001.phpt b/ext/ereg/tests/sql_regcase_variation_001.phpt
index c2c28ab50e..2445d6dcab 100644
--- a/ext/ereg/tests/sql_regcase_variation_001.phpt
+++ b/ext/ereg/tests/sql_regcase_variation_001.phpt
@@ -83,109 +83,84 @@ Error: 8 - Undefined variable: undefined_var, %s(62)
Error: 8 - Undefined variable: unset_var, %s(65)
Arg value 0
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(1) "0"
Arg value 1
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(1) "1"
Arg value 12345
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(5) "12345"
Arg value -2345
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(5) "-2345"
Arg value 10.5
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(4) "10.5"
Arg value -10.5
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(5) "-10.5"
Arg value 101234567000
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(12) "101234567000"
Arg value 1.07654321E-9
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(16) "1.07654321[Ee]-9"
Arg value 0.5
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(3) "0.5"
Arg value Array
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s.php(72)
NULL
Arg value Array
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s.php(72)
NULL
Arg value Array
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s.php(72)
NULL
Arg value Array
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s.php(72)
NULL
Arg value Array
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s.php(72)
NULL
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value 1
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(1) "1"
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value 1
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(1) "1"
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Error: 4096 - Object of class stdClass could not be converted to string, %s(71)
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
-Error: 2 - sql_regcase() expects parameter 1 to be string, object given, %s(72)
+Error: 2 - sql_regcase() expects parameter 1 to be string, object given, %s.php(72)
NULL
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Arg value
-Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(0) ""
Done