Anonymous | Login | Signup for a new account | 12-17-2024 10:57 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003155 | [Quercus] | minor | always | 12-12-08 00:15 | 12-14-08 12:06 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |