note 80840 added to function.imagecopy
| From: | matrebatre at osu1 dot php dot net | Date: | Sat, 02 Feb 2008 21:45:53 +0000 |
| Subject: | note 80840 added to function.imagecopy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135740@lists.php.net to get a copy of this message | ||
### There is a mistake in the next note! ###
if($trans!==FALSE)
should be
if($trans>=0)
I forgot the function returned -1 instead of FALSE if there is no transparent color
----
Server IP: 87.238.162.147
Probable Submitter: 81.241.177.196
----
Manual Page -- http://www.php.net/manual/en/function.imagecopy.php
Edit -- https://master.php.net/note/edit/80840
Del: integrated -- https://master.php.net/note/delete/80840/integrated
Del: useless -- https://master.php.net/note/delete/80840/useless
Del: bad code -- https://master.php.net/note/delete/80840/bad+code
Del: spam -- https://master.php.net/note/delete/80840/spam
Del: non-english -- https://master.php.net/note/delete/80840/non-english
Del: in docs -- https://master.php.net/note/delete/80840/in+docs
Del: other reasons-- https://master.php.net/note/delete/80840
Reject -- https://master.php.net/note/reject/80840
Search -- https://master.php.net/manage/user-notes.php