laruence Wed, 31 Aug 2011 07:37:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315858
Log:
Fixed test failed, due to error message changed
Changed paths:
U
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_file.phpt
U
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_string_002.phpt
Modified:
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_file.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_file.phpt
2011-08-31 07:34:07 UTC (rev 315857)
+++ php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_file.phpt
2011-08-31 07:37:42 UTC (rev 315858)
@@ -137,11 +137,11 @@
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 @@
["foo_"]=>
string(4) "bar3"
}
-
-Deprecated: Comments starting with '#' are deprecated in %s
array(3) {
["foo"]=>
string(4) "bar1"
Modified:
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_string_002.phpt
===================================================================
---
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_string_002.phpt
2011-08-31 07:34:07 UTC (rev 315857)
+++
php/php-src/trunk/ext/standard/tests/general_functions/parse_ini_string_002.phpt
2011-08-31 07:37:42 UTC (rev 315858)
@@ -97,11 +97,11 @@
%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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php