| Anonymous | Login | Signup for a new account | 10-31-2025 21:26 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 | ||||
| 0003644 | [Quercus] | minor | always | 08-21-09 02:42 | 08-27-09 12:29 | ||||
| Reporter | tlandmann | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 4.0.0 | ||||||
| Summary | 0003644: Quercus allows to make non-abstract function abstract again (incompatibility with standard PHP) | ||||||||
| Description |
The following script renders an error in standard PHP 5.2.6: Fatal error: Cannot make non abstract method test2::function1() abstract in class test3 in [...]/test6.php on line 19 In Quercus it executes and prints: outer start 1 outer end ----------------------- <?php abstract class test1 { public abstract function function1(); } class test2 extends test1 { public function function1() { echo "1\n"; } } abstract class test3 extends test2 { public abstract function function1(); } class test4 extends test3 { public function function1() { echo "outer start\n"; parent::function1(); echo "outer end\n"; } } $testvar=new test4; $testvar->function1(); ?> |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |