This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the image_type_to_extension function the second parameter's default is '&true;' which is a string while it should be bool true. Line 950 is: function image_type_to_extension ($imagetype, $include_dot = '&true;') {} I believe it should be: function image_type_to_extension ($imagetype, $include_dot = true) {} As correctly stated in the functions' help: /** * (PHP 5)<br/> * Get file extension for image type * @link http://php.net/manual/en/function.image-type-to-extension.php * @param int $imagetype <p> * One of the IMAGETYPE_XXX constant. * </p> * @param bool $include_dot [optional] <p> * Whether to prepend a dot to the extension or not. Default to <b>TRUE</b>. * </p> * @return string A string with the extension corresponding to the given image type. */ Regards, Paolo
Seems to be a problem of generated sig files.
Likely problem in PHP docs sources, we will regenerate signature files (for the next release). Thanks.
Not a P3 IMHO.
I have discovered more issues in the default parameter values - these should be fixed now. Please verify, thanks. http://hg.netbeans.org/web-main/rev/a7996864f8d9
Integrated into 'main-silver', will be available in build *201505200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a7996864f8d9 User: Tomas Mysik <tmysik@netbeans.org> Log: #243912 - standard.php function image_type_to_extension wrong default