ID: 19608 User updated by: [EMAIL PROTECTED] -Summary: undocumented behaviour with constants Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Linux 2.4.18 PHP Version: 4.2.3 New Comment:
. Previous Comments: ------------------------------------------------------------------------ [2002-09-26 03:58:15] [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