#21403 [Opn->Asn]: getimagesize() returns ["mime"], not ["MIME"]

From: Date: Sat, 04 Jan 2003 10:47:04 +0000
Subject: #21403 [Opn->Asn]: getimagesize() returns ["mime"], not ["MIME"]
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350657@lists.php.net to get a copy of this message
ID: 21403 Updated by: tularis@php.net Reported By: michael.mauch@gmx.de -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: All PHP Version: 4.3.0 -Assigned To: +Assigned To: tularis New Comment: I agree with the fact that it *might* confuse certain people, though it seems to be ok in the example, as a result, I will modify this in the CVS version of the docs. Which should be recompiled sometime soon. Previous Comments: ------------------------------------------------------------------------ [2003-01-03 19:51:36] michael.mauch@gmx.de The manual page for getimagesize says: Beginning with PHP 4.3, getimagesize() also returns an additional parameter, MIME, ... Should be: Beginning with PHP 4.3, getimagesize() also returns an additional parameter, mime, ... The example is right, and the other indexes are also written in lowercase, so this should probably be consistent. Maybe all of these string indexes could be surrounded with quotes, to make sure nobody thinks that these are constants. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21403&edit=1

« previous php.doc (#969350657) next »