Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status new   Product Version 4.0.2
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
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
12-26-09 16:23 domdorn New Issue

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker