Date: 11/19/02
- Next message: Philip Olson: "[PHP-DOC] cvs: phpdoc /en/chapters config.xml"
- Previous message: Philip Olson: "[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 19608
Updated by: philip <email protected>
Reported By: jaenecke <email protected>
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
This is now documented and will show up within the next few days. The
patch can be seen here:
Thank you for the report!
Previous Comments:
------------------------------------------------------------------------
[2002-09-26 15:37:01] goba <email protected>
Well, this is a feature, this is how E_ constants work in the ini file
I guess. This can be useful in many cases, so it definitely needs to be
added into the docs.
------------------------------------------------------------------------
[2002-09-26 14:34:55] jaenecke <email protected>
.
------------------------------------------------------------------------
[2002-09-26 03:58:15] jaenecke <email protected>
Given a file test.ini like
foo = BAR
and parsing it in parse.php:
define ( 'BAR', 'just any value' );
$ini = parse_ini_file ( 'test.ini' );
print_r ( $ini );
will result in
Array
(
[foo] => just any value
)
This is maybe a quite useful behaviour but should at least be mentioned
in the documentation.
I would prefer a third argument added to the function which could be
used to turn this feature off.
------------------------------------------------------------------------
-- Edit this bug report at http://bugs.php.net/?id=19608&edit=1-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Philip Olson: "[PHP-DOC] cvs: phpdoc /en/chapters config.xml"
- Previous message: Philip Olson: "[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

