[PHP-NOTES] note 130314 added to function.imagetypes

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
In case anyone is wondering what values these constants have
<?php

$imagetypes = array('IMG_AVIF', 'IMG_BMP', 'IMG_GIF', 'IMG_JPG', 'IMG_PNG', 'IMG_WBMP', 'IMG_XPM', 'IMG_WEBP');
foreach ($imagetypes as $imagetype) {
	echo constant($imagetype) . "\t" . $imagetype . "\r\n";
}

/* would output 
256 IMG_AVIF
64  IMG_BMP
1   IMG_GIF
2   IMG_JPG
4   IMG_PNG
8   IMG_WBMP
16  IMG_XPM
32  IMG_WEBP
*/

?>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 94.205.47.84)
----
Manual Page -- https://php.net/manual/en/function.imagetypes.php
Edit        -- https://main.php.net/note/edit/130314
Del: integrated  -- https://main.php.net/note/delete/130314/integrated
Del: useless     -- https://main.php.net/note/delete/130314/useless
Del: bad code    -- https://main.php.net/note/delete/130314/bad+code
Del: spam        -- https://main.php.net/note/delete/130314/spam
Del: non-english -- https://main.php.net/note/delete/130314/non-english
Del: in docs     -- https://main.php.net/note/delete/130314/in+docs
Del: other reasons-- https://main.php.net/note/delete/130314
Reject      -- https://main.php.net/note/reject/130314
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.