Anonymous | Login | Signup for a new account | 11-25-2024 00:11 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 | |||||||
0004297 | [Quercus] | minor | always | 11-17-10 18:45 | 11-17-10 18:45 | |||||||
Reporter | JackyChan | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 4.0.13 | |||||||||
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. |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |