summaryrefslogtreecommitdiff
path: root/ext/ereg/tests/eregi_basic_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ereg/tests/eregi_basic_001.phpt')
-rw-r--r--ext/ereg/tests/eregi_basic_001.phpt28
1 files changed, 1 insertions, 27 deletions
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