Doc #51526 [NEW]: Bad example code for imagecolorstotal()

From: Date: Sat, 10 Apr 2010 09:51:12 +0000
Subject: Doc #51526 [NEW]: Bad example code for imagecolorstotal()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4185@lists.php.net to get a copy of this message
From: Operating system: any PHP version: 5.3.2 Package: Documentation problem Bug Type: Documentation Problem Bug description:Bad example code for imagecolorstotal() Description: ------------ "An image resource, returned by one of the image creation functions, such as imagecreatetruecolor()." This function doesn't work with truecolor images - this is a bad example of an appropriate function to use. One of the indexed-color formats like imagegif would be a better example. -- Edit bug report at http://bugs.php.net/bug.php?id=51526&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51526&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51526&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51526&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51526&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51526&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51526&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51526&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51526&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51526&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51526&r=support Expected behavior: http://bugs.php.net/fix.php?id=51526&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51526&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51526&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51526&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51526&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51526&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51526&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51526&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51526&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51526&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51526&r=mysqlcfg

« previous php.doc.bugs (#4185) next »