summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-14 08:49:29 +0000
committerXinchen Hui <laruence@php.net>2011-09-14 08:49:29 +0000
commit7bd4924bf7ebae6afb0dcb34133621e82e0aa672 (patch)
tree0e33c25b4d3e83bf19c64bc296a6f0624ff43a44
parent7e5307cc792a3b2af0531b061088b2b68a683d9d (diff)
downloadphp-git-7bd4924bf7ebae6afb0dcb34133621e82e0aa672.tar.gz
Fix test, Make warning message bison independed
-rw-r--r--ext/standard/tests/general_functions/parse_ini_file.phpt4
-rw-r--r--ext/standard/tests/general_functions/parse_ini_string_002.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/general_functions/parse_ini_file.phpt b/ext/standard/tests/general_functions/parse_ini_file.phpt
index 260c48b842..240b0f3b1f 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 '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in %sparse_ini_file.dat on line 2
+Warning: syntax error, unexpected '='%sparse_ini_file.dat on line 2
in %sparse_ini_file.php on line 20
bool(false)
-Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in %sparse_ini_file.dat on line 2
+Warning: syntax error, unexpected '='%sparse_ini_file.dat on line 2
in %sparse_ini_file.php on line 26
bool(false)
array(1) {
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 f85814e3e6..733409c84b 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 '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in Unknown on line 2
+Warning: syntax error, unexpected '='%sin Unknown on line 2
in %s
bool(false)
-Warning: syntax error, unexpected '=', expecting $end or TC_SECTION or TC_LABEL or TC_OFFSET in Unknown on line 2
+Warning: syntax error, unexpected '='%sin Unknown on line 2
in %s
bool(false)
array(1) {