Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2398 | major | always | 02-04-08 11:45 | 05-30-08 18:26 | |
|
|||||
Reporter: | lee_saferite | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | 3.1.5 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.2.0 | ||
|
|||||
Summary: | 0002398: Cannot extend SPL ArrayObject | ||||
Description: |
When you extend ArrayObject it works, but no values are stored when using the new object. This is using resin-pro-3.1.s080130 |
||||
Steps To Reproduce: | |||||
Additional Information: |
Code: class Test extends ArrayObject { public function __construct() { parent::__construct(); } } $one = new ArrayObject(); $two = new Test(); $one['one'] = "one here"; $two['two'] = "two here"; header('Content-Type: text/plain'); var_dump($one); var_dump($two); Expected Result: object(ArrayObject)0000001 (1) { ["one"]=> string(8) "one here" } object(Test)0000002 (1) { ["two"]=> string(8) "two here" } Actual Result: object(ArrayObject) (1) { ["one"]=> string(8) "one here" } object(Test) (0) { } |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|