#28436 [Bgs]: ini file with ! character fails

From: Date: Tue, 18 May 2004 19:00:44 +0000
Subject: #28436 [Bgs]: ini file with ! character fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59740@lists.php.net to get a copy of this message
ID: 28436 User updated by: f dot braem at skynet dot be Reported By: f dot braem at skynet dot be Status: Bogus Bug Type: Filesystem function related Operating System: Win32 PHP Version: 5.0.0RC2 New Comment: I can't find any related bug. Can you give me the id of the related bug? Previous Comments: ------------------------------------------------------------------------ [2004-05-18 20:42:29] pollita@php.net Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. This is a known bug and is being worked on. ------------------------------------------------------------------------ [2004-05-18 20:41:10] f dot braem at skynet dot be Description: ------------ With the given ini file: 0=Test 1 1=Test 2! 2=Test 3 The parsing of the file stops at the ! sign. When 1 is Test ! 2, only Test will be assigned to element 1. Reproduce code: --------------- <?php $values = parse_ini_file("c:\\temp\\test.ini"); print_r($values); ?> Expected result: ---------------- Array ( [0] => Test 1 [1] => Test 2 [2] => Test 3 ) Actual result: -------------- Array ( [0] => Test 1 [1] => Test 2 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28436&edit=1

« previous php.bugs (#59740) next »