note 68737 added to function.imagecopyresized

From: Date: Tue, 08 Aug 2006 23:37:06 +0000
Subject: note 68737 added to function.imagecopyresized
Groups: php.notes 
Request: Send a blank email to php-notes+get-115707@lists.php.net to get a copy of this message
Users of this function should be aware that this function can return false in certain circumstances! I am assuming this is an indicator of failure. None of the example code displayed in these notes takes this into account, so all of these examples contain weaknesses that could crash a program if not used with care. However, it is not documented what kinds situations will cause it to fail, and what side effects (if it is not atomic) occur if the operation fails, so we will have to wait for the documentation to be updated before this function can be used in rock-solid (crash-proof) code. [[I posted this information earlier, but I phrased it as a question so it was removed by the editors]] ---- Server IP: 203.202.10.60 Probable Submitter: 203.2.182.254 (proxied: 1.1 AURB-PROXY-03) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.imagecopyresized.php Edit -- https://master.php.net/note/edit/68737 Del: integrated -- https://master.php.net/note/delete/68737/integrated Del: useless -- https://master.php.net/note/delete/68737/useless Del: bad code -- https://master.php.net/note/delete/68737/bad+code Del: spam -- https://master.php.net/note/delete/68737/spam Del: non-english -- https://master.php.net/note/delete/68737/non-english Del: in docs -- https://master.php.net/note/delete/68737/in+docs Del: other reasons-- https://master.php.net/note/delete/68737 Reject -- https://master.php.net/note/reject/68737 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115707) next »