note 38856 added to function.imagecreatetruecolor
| From: | JustinGreer at rn2 dot php dot net | Date: | Fri, 09 Jan 2004 01:38:20 +0000 |
| Subject: | note 38856 added to function.imagecreatetruecolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63183@lists.php.net to get a copy of this message | ||
I know it's not a discussion board, but when incorrect info is posted, it should be corrected.
The function_exists() check does not work correctly because if PHP is compiled with an older GD
library, the imagecreatetruecolor() function still exists -- it just gives a fatal error when
called, stating that GD2 is required. Therefore, the function_exists() method will fail on any
new-ish copy of PHP that only has GD 1.x. (That includes most of the 4.1.x and 4.2.x installs
I've seen.)
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38856
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38856&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38856&report=yes
Search -- http://master.php.net/manage/user-notes.php