|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4483 | minor | always | 04-06-11 10:34 | 04-06-11 10:57 | |
|
|
|||||
| Reporter: | tokeefe | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.11 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004483: Root-level namespace not working | ||||
| Description: |
The following PHP 5.3+ code is valid, and does not produce any errors when interpreted with mod_php5: <? namespace foo; function foo(\Exception $e) { } The same code when interpreted by Quercus 4.0.11 produces the following error: com.caucho.quercus.parser.QuercusParseException: index.php:2: namespace identifier is not allowed at '\Exception' in index.php This prevents certain code that targets PHP 5.3 from running without modification on both Quercus 4 and mod_php5. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Apache HTTPD, PHP 5.3.3, and mod_php5 used in this example were installed through synaptic on Ubuntu 10.04 x86_64. | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||