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.

Bug 241674 - PHP Constants for images wrong IMG_WBMP returns TIFF
Summary: PHP Constants for images wrong IMG_WBMP returns TIFF
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 06:37 UTC by recojohnson
Modified: 2015-05-19 12:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of IMG_WBMP auto-complete feature (8.18 KB, image/png)
2014-02-11 06:37 UTC, recojohnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description recojohnson 2014-02-11 06:37:42 UTC
Created attachment 145011 [details]
Screenshot of IMG_WBMP auto-complete feature

PHP Constants for images wrong IMG_WBMP returns TIFF when using image_type_to_extension()

IMG_WBMP in in auto-complete of netbeans 7.4 and gives the value 8 when it should give 15

There are probably more, if someone who contributes to netbeans could update it would be fantastic

Thanks for your hard work!

http://ca1.php.net/manual/en/function.image-type-to-extension.php
Comment 1 Ondrej Brejla 2014-02-11 09:00:04 UTC
It's defined in sig files. Reassigning.
Comment 2 Tomas Mysik 2015-05-19 12:19:43 UTC
(In reply to recojohnson from comment #0)
> IMG_WBMP in in auto-complete of netbeans 7.4 and gives the value 8 when it
> should give 15

No, it should not. The 8 is correct value, see [1].

Thanks for reporting.
[1]
php > echo IMG_WBMP;
8