note 69606 rejected from function.imagepng by nlopess

From: Date: Tue, 12 Sep 2006 15:55:00 +0000
Subject: note 69606 rejected from function.imagepng by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-117067@lists.php.net to get a copy of this message
Note Submitter: bytewise at gmx dot net ---- In contradiction to the documentation, the second parameter *must* not be NULL (or the empty string '') in PHP 5.1.6 (and maybe earlier versions as well). So if you don't want the image to be written to a file, call imagepng with the first parameter only. Otherwise it will fail, but only generate a warning (which is very confusing).

« previous php.notes (#117067) next »