]> granicus.if.org Git - php/commitdiff
Fixed test failed, due to error message changed
authorXinchen Hui <laruence@php.net>
Wed, 31 Aug 2011 07:37:42 +0000 (07:37 +0000)
committerXinchen Hui <laruence@php.net>
Wed, 31 Aug 2011 07:37:42 +0000 (07:37 +0000)
ext/standard/tests/general_functions/parse_ini_file.phpt
ext/standard/tests/general_functions/parse_ini_string_002.phpt

index 8523c83cf098d2880a31d4dde4e85b53d664272e..906e92169fa2a2d441911c44e8d10d2cf5029b28 100644 (file)
@@ -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"
index 0da959ab86cfe81552f8e2670626387469573a36..f85814e3e6945fa49262f2f2cca69210f56a5610 100644 (file)
@@ -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) {