| Anonymous | Login | Signup for a new account | 10-23-2025 18:17 PDT |
| 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 | ||||
| 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.0.20 | Product Version | 3.0.20 | ||||
| Product Build | |||||||||
| 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 |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | 060522 snapshot | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |