Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4297 | minor | always | 11-17-10 18:45 | 11-17-10 18:45 | |
|
|||||
Reporter: | JackyChan | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.13 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004297: ArrayObject can't access property with -> operator, like $arrayObject->property | ||||
Description: |
ArrayObject as an object instance, can't access it's property with -> operator, for example, $arrayObject->property. Only support index access operator,like $arrayObject['property']. I found this issue when use Zend_Config_Ini to get the configurations. db.ini -------------------- [db] host = "localhost" user = "root" password = "" dbname = "mydb" $config = new Zend_Config_Ini('db.ini'); print_r($config->db); no luck,but print_r($config['db']) is ok. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |