|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2874 | major | always | 08-27-08 03:03 | 08-28-08 19:39 | |
|
|
|||||
| Reporter: | nbzx | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.2.1 | ||
|
|
|||||
| Summary: | 0002874: $object->x->x does not trigger __get in array define | ||||
| Description: |
<?php class Temp{ } class Test { public function __get($name) { echo 'get ' . $name; return new Temp(); } } $test = new Test(); $test->temp->a; $arr = array('key' => $test->temp->a); //not trigger __get ?> output: ----------------- get temp |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||