|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3155 | minor | always | 12-12-08 00:15 | 12-14-08 12:06 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.0 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|
|||||
| Summary: | 0003155: Can't access static member of superclass declared after subclass | ||||
| Description: |
<?php class Child extends Mommy { public static function foo() { print parent::$var; } } class Mommy { public static $var = 'hi there'; } Child::foo(); This works in regular PHP. In Quercus it prints "Fatal Error: Mommy::$var is an undeclared static property". In our real-world case, these two classes are in separate .php files, if that matters. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||