Doc #62939 [Opn->Csd]: IMAGETYPE_XXX constant names aren't listed anywhere
| From: | rulatir at wp dot pl | Date: | Sun, 26 Aug 2012 18:32:23 +0000 |
| Subject: | Doc #62939 [Opn->Csd]: IMAGETYPE_XXX constant names aren't listed anywhere | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8772@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62939&edit=1
ID: 62939
User updated by: rulatir at wp dot pl
Reported by: rulatir at wp dot pl
Summary: IMAGETYPE_XXX constant names aren't listed anywhere
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Jesus christ am I blind, or did the block show collapsed the first time I opened the getimagesize()
docs page? Resolved/Invalid.
Previous Comments:
------------------------------------------------------------------------
[2012-08-26 18:27:28] rulatir at wp dot pl
Description:
------------
The IMAGETYPE_XXX constant names aren't listed anywhere, or at least the place where they are
listed cannot be easily reached from either exif_imagetype() or getimagesize() documentation (the
former directs the user to the latter, promising that the constants WILL be listed there, but they
aren't). This leaves the programmer to try-and-error whether it's e.g. IMAGETYPE_JPG or
IMAGETYPE_JPEG or something else entirely.
---
From manual page: http://www.php.net/function.getimagesize#refsect1-function.getimagesize-changelog
---
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62939&edit=1