Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions parse_ini_file.phpt
On 09.04.2008 12:31, Jani Taskinen wrote: Is it supposed to fail? Warning: syntax error, unexpected $end in /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.dat on line 2 in /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.php on line 92 If the bug #44574 (like mentioned in the commit msg) isn't fixed: yes, it's supposed to fail. Ok then. -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions parse_ini_file.phpt
On Wed, 2008-04-09 at 11:40 +0400, Antony Dovgal wrote: > On 08.04.2008 16:33, Jani Taskinen wrote: > > janiTue Apr 8 12:33:55 2008 UTC > > > > Modified files: (Branch: PHP_5_3) > > /php-src/ext/standard/tests/general_functions parse_ini_file.phpt > > Log: > > MFH: Missing basic single ini file test (bug #44574) > > Is it supposed to fail? > > Warning: syntax error, unexpected $end in > /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.dat on > line 2 > in /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.php > on line 92 If the bug #44574 (like mentioned in the commit msg) isn't fixed: yes, it's supposed to fail. -- Patches/Donations: http://pecl.php.net/~jani/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions parse_ini_file.phpt
On 08.04.2008 16:33, Jani Taskinen wrote: janiTue Apr 8 12:33:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/general_functions parse_ini_file.phpt Log: MFH: Missing basic single ini file test (bug #44574) Is it supposed to fail? Warning: syntax error, unexpected $end in /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.dat on line 2 in /local/qa/5_3.zts/ext/standard/tests/general_functions/parse_ini_file.php on line 92 -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions parse_ini_file.phpt
janiTue Apr 8 12:33:55 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/general_functions parse_ini_file.phpt Log: MFH: Missing basic single ini file test (bug #44574) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_file.phpt?r1=1.1.2.2.2.1&r2=1.1.2.2.2.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_file.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.1.2.2.2.1 php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.1.2.2.2.2 --- php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.1.2.2.2.1 Fri Sep 28 02:05:09 2007 +++ php-src/ext/standard/tests/general_functions/parse_ini_file.phptTue Apr 8 12:33:54 2008 @@ -89,6 +89,11 @@ file_put_contents($filename, $ini); var_dump(parse_ini_file($filename, true)); +/* From bug #44574 */ +$ini = "[section1]\nname = value"; +file_put_contents($filename, $ini); +var_dump(parse_ini_file($filename, true)); + @unlink($filename); echo "Done\n"; ?> @@ -170,4 +175,11 @@ ["test"]=> string(5) "test4" } +array(1) { + ["section1"]=> + array(1) { +["name"]=> +string(5) "value" + } +} Done -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php