Anonymous | Login | Signup for a new account | 11-24-2024 16:45 PST |
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 | |||||||
0003830 | [Quercus] | minor | always | 12-26-09 16:23 | 12-26-09 16:23 | |||||||
Reporter | domdorn | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.2 | ||||||||
Product Build | ||||||||||||
Summary | 0003830: Quercus Parser too "nice": Type Hints & Default values | |||||||||||
Description |
the code class someClass { ... public static function graphicImage(String $id, boolean $rendered, String $libraryName, String $resourceName, $width = 0, $height = 0, String $alttext = "", String $class="", String $style="") {....} } does work without problems in quercus, but executed with native php the following error is thrown: [27-Dec-2009 00:18:50] PHP Fatal error: Default value for parameters with a class type hint can only be NULL in /path/to/file.php on line 276 |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |