Anonymous | Login | Signup for a new account | 10-30-2024 04:15 PDT |
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 | ||||
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 | ||||||
Status | closed | Product 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. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |