From 3500ffe14a38f7c9a4b7d81c3744c8140e931a12 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Thu, 17 May 2001 07:30:31 +0000 Subject: [PATCH] Added getimagesize 's return when failing. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47660 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/image.xml b/functions/image.xml index f7207e38ef..7d2273f224 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -85,6 +85,11 @@ channel will be 3 for RGB pictures, and 4 for CMYK pictures. bits is the number of bits for each color. + + If accessing the filename image is impossible, + or if it isn't a valid picture, getimagesize + will return NULL and generate a warning. + The optional imageinfo parameter allows you to extract some extended information from the image