#19396 [Bgs]: Online documentation is for version 4.3!

From: Date: Fri, 13 Sep 2002 22:33:34 +0000
Subject: #19396 [Bgs]: Online documentation is for version 4.3!
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-12514@lists.php.net to get a copy of this message
ID: 19396 User updated by: roland@astrofoto.org Reported By: roland@astrofoto.org Status: Bogus Bug Type: Website problem Operating System: N/A PHP Version: 4.2.3 New Comment: I disagree, at least in part, because some of this advance documentation does not indicate that the functionality is not yet available. An example is the documentation for getimagesize which says: Returns an array with 4 elements. Index 0 contains the width of the image in pixels. Index 1 contains the height. Index 2 is a flag indicating the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2, 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF. These values correspond to the IMAGETYPE constants that were added in PHP 4.3. [...] *Some* of those image types are available in 4.2 or earlier. It reads as if *all* of them were added in 4.3. I've spent a chunk of today testing with 4.2.2 to see which parts are currently present and which ones are not. Previous Comments: ------------------------------------------------------------------------ [2002-09-13 15:21:07] goba@php.net I also must add the point that it still includes PHP 3 related information, like developing extensions for PHP 3 or migrating to PHP 4. Our intention is to provide a single manual for all versions in use (including all OS variations). Although sometimes we have problems with this approach (eg. missing version info for newly added items) most of the time this scheme works quite well. ------------------------------------------------------------------------ [2002-09-13 15:17:35] goba@php.net Why? We are quite happy if guys who update the code update the documentation (with respective version notes), as otherwise many times the doc update is forgotten. Those types will be available in 4.3, so the documentation is quite all right. ------------------------------------------------------------------------ [2002-09-13 14:11:25] roland@astrofoto.org The online documentation at www.php.net seems to be for version 4.3. Look, for example, through the image functions section and you will find documentation for image types and functions which are not part of 4.2.2 and comments like "since version 4.3 ...". Hey, I'm all for up-to-date documentation, but this is a bit much. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19396&edit=1

« previous php.mirrors (#12514) next »