Anonymous | Login | Signup for a new account | 12-17-2024 12:03 PST |
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 | ||||
0001145 | [Quercus] | major | always | 05-25-06 09:33 | 05-30-06 09:25 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.20 | ||||||
Summary | 0001145: Can't call static method from static method using "self::" notation | ||||||||
Description |
PHP: <?php class testclass { public static function func1() { self::func2(); } protected static function func2() { print "Hi"; } } testclass::func1(); ?> This prints "Hi" on Zend PHP and fails to compile under Quercus. Same error as bug 1099 (which is fixed): com.caucho.java.JavaCompileException: /Users/sgrimm/resin/resin/webapps/test/WEB-INF/work/_quercus/_test__php.java:86: cannot find symbol symbol : variable q_this location: class _quercus._test__php.quercus_testclass env.getClass("testclass").getFunction("func2").evalMethod(env, q_this); ^ 1 error |
||||||||
Additional Information | 060522 snapshot | ||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |