summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-08-31 07:37:42 +0000
committerXinchen Hui <laruence@php.net>2011-08-31 07:37:42 +0000
commit8c93430a6a897441afb0e2c823b3568274ebf85b (patch)
tree8c6fd0d80daea07c31d6031595970aeda4335c18
parenta84c0ab32bb08773f6593be2604969ba45b15370 (diff)
downloadphp-git-8c93430a6a897441afb0e2c823b3568274ebf85b.tar.gz
Fixed test failed, due to error message changed
-rw-r--r--ext/standard/tests/general_functions/parse_ini_file.phpt6
-rw-r--r--ext/standard/tests/general_functions/parse_ini_string_002.phpt4
2 files changed, 4 insertions, 6 deletions
diff --git a/ext/standard/tests/general_functions/parse_ini_file.phpt b/ext/standard/tests/general_functions/parse_ini_file.phpt
index 8523c83cf0..906e92169f 100644
--- a/ext/standard/tests/general_functions/parse_ini_file.phpt
+++ b/ext/standard/tests/general_functions/parse_ini_file.phpt
@@ -137,11 +137,11 @@ array(1) {
string(0) ""
}
-Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2
+Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in %sparse_ini_file.dat on line 2
in %sparse_ini_file.php on line 20
bool(false)
-Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2
+Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in %sparse_ini_file.dat on line 2
in %sparse_ini_file.php on line 26
bool(false)
array(1) {
@@ -205,8 +205,6 @@ array(3) {
["foo_"]=>
string(4) "bar3"
}
-
-Deprecated: Comments starting with '#' are deprecated in %s
array(3) {
["foo"]=>
string(4) "bar1"
diff --git a/ext/standard/tests/general_functions/parse_ini_string_002.phpt b/ext/standard/tests/general_functions/parse_ini_string_002.phpt
index 0da959ab86..f85814e3e6 100644
--- a/ext/standard/tests/general_functions/parse_ini_string_002.phpt
+++ b/ext/standard/tests/general_functions/parse_ini_string_002.phpt
@@ -97,11 +97,11 @@ array(1) {
%unicode|string%(0) ""
}
-Warning: syntax error, unexpected '=' in Unknown on line 2
+Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in Unknown on line 2
in %s
bool(false)
-Warning: syntax error, unexpected '=' in Unknown on line 2
+Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in Unknown on line 2
in %s
bool(false)
array(1) {