ID: 33574 User updated by: m at tacker dot org Reported By: m at tacker dot org Status: Verified Bug Type: Documentation problem Operating System: Gentoo Linux PHP Version: 5.1.0b2 New Comment:
Wow, cool. That is a feature I implemented myself. How do I address values under sections with that? [example] name = value [values_from_example] name = ${example.name} Previous Comments: ------------------------------------------------------------------------ [2005-07-05 15:29:06] [EMAIL PROTECTED] This is not a bug but new feature added in PHP 5.1 by Andrei: " Adding ability to refer to existing .ini variables from within .ini files. Example: open_basedir = ${open_basedir} ":/new/dir" " Quoting the values is very good idea anyway.. This isn't documented anywhere -> reclassified. ------------------------------------------------------------------------ [2005-07-05 13:42:42] m at tacker dot org Using quotations fixes that problem. ------------------------------------------------------------------------ [2005-07-05 13:38:41] m at tacker dot org Description: ------------ PHP 5.1's parse_ini_file cannot parse this line where 5.0's can: from_email = [EMAIL PROTECTED] Expected result: ---------------- An array with $config = array( 'from_email' => '[EMAIL PROTECTED]' ); Actual result: -------------- Warning: Error parsing ../include/config/config.ini ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33574&edit=1