Re: cvs: php4(PHP_4_3) /ext/standard image.c

From: Date: Thu, 05 Dec 2002 15:34:41 +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-16925@lists.php.net to get a copy of this message
On December 5, 2002 10:26 am, Marcus Börger wrote: > 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. True, but if you are already modifying the code please remove those checks. This way we'll slowly, but surely get rid of unnecessary code ;) Ilia

« previous php.cvs (#16925) next »