Anonymous | Login | Signup for a new account | 11-17-2024 00:49 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003878 | [Quercus] | major | always | 02-05-10 05:02 | 05-11-10 16:51 | ||||
Reporter | ice-breaker | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.2 | ||||||
Summary | 0003878: parse_ini_file does not replace PHP Constants | ||||||||
Description |
Trying to install the Zend Framework i encountered an implementation issue in the parse_ini_file function. By default PHP Constants inside the ini file should be replaced by their value, but quercus doesn't do it. |
||||||||
Additional Information |
config.ini: [group0] val0 = VALUE val2 = VALUE " is more than four" val1 = VALUE is more than four val3 = VALUE ' is more than four' val4 = "VALUE is more than four" VALUE = keys should not be replaced php file: <?php define('VALUE', 5); print_r(parse_ini_file('config.ini')); expected output: Array ( [val0] => 5 [val2] => 5 is more than four [val1] => VALUE is more than four [val3] => VALUE ' is more than four' [val4] => VALUE is more than four [VALUE] => keys should not be replaced ) actual output: Array ( [val0] => 5 [val2] => VALUE " is more than four" [val1] => VALUE is more than four [val3] => VALUE ' is more than four' [val4] => VALUE is more than four [VALUE] => keys should not be replaced ) |
||||||||
Attached Files | |||||||||
|
Notes | |
(0004417) ice-breaker 02-05-10 05:05 |
correction: quercus DOES replace php constant BUT NOT on string concatenations (val2) |
(0004564) nam 05-11-10 16:51 |
php/164w |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed. 29 unique queries executed. |