From:             [EMAIL PROTECTED]
Operating system: Linux RH6.2
PHP version:      4CVS-2002-09-27
PHP Bug Type:     Feature/Change Request
Bug description:  Extended functionality for parse_ini_file

Hi,

this is not a bug report, it is a feature question.

Would it be possible to extend the parse_ini_file() function not to read a
configuration file line by line but to handle multiple lines for an
entry?

E.g.

  ; This is an .ini file
  FOO = "a short value"

This works fine, but

  ; An other .ini file
  BAR = "a very long value that
         takes more then an other line
         and can't be displayed in a small terminal window"

will return only the first line, which I think is not desired.

What do you people think?

regards dtg
-- 
Edit bug report at http://bugs.php.net/?id=19645&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19645&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19645&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19645&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19645&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19645&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19645&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19645&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19645&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19645&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19645&r=globals

Reply via email to