Re: cvs: php4(PHP_4_3) /ext/standard image.c
| From: | (Marcus Börger) | Date: | Thu, 05 Dec 2002 15:26:54 +0000 |
| Subject: | Re: cvs: php4(PHP_4_3) /ext/standard image.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-16924@lists.php.net to get a copy of this message | ||
At 16:23 05.12.2002, Ilia A. wrote:
array_init() can no longer fail, because it means that ZE was unable to allocate memory at which point ZE will cease the script execution. So, if there are any existing checks for return value of array_init() or any other e* memory allocation functions, those checks can be safely removed since they will never happen.Yes you're right - and unfortunately there are hundreds of such cases in PHP. marcus