Doc #62939 [Csd->Fbk]: IMAGETYPE_XXX constant names aren't listed anywhere

From: Date: Sun, 26 Aug 2012 18:33:07 +0000
Subject: Doc #62939 [Csd->Fbk]: IMAGETYPE_XXX constant names aren't listed anywhere
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8773@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 Updated by: salathe@php.net Reported by: rulatir at wp dot pl Summary: IMAGETYPE_XXX constant names aren't listed anywhere -Status: Closed +Status: Feedback Type: Documentation Problem Package: Documentation problem Operating System: irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The exif_imagetype() manual page[1] lists those constants under the "Predefined Constants" heading. Were you perhaps looking at a non-English translation which might be missing them? [1] http://php.net/manual/en/function.exif-imagetype.php Previous Comments: ------------------------------------------------------------------------ [2012-08-26 18:32:23] rulatir at wp dot pl Jesus christ am I blind, or did the block show collapsed the first time I opened the getimagesize() docs page? Resolved/Invalid. ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#8773) next »