Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3830 | minor | always | 12-26-09 16:23 | 12-26-09 16:23 | |
|
|||||
Reporter: | domdorn | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.2 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |