|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-18 20:42 UTC] pollita@php.net
[2004-05-18 21:00 UTC] f dot braem at skynet dot be
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 20:00:01 2025 UTC |
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 )