Re: CODING_STANDARDS addition re: emalloc

From: Date: Wed, 09 Oct 2002 05:08:46 +0000
Subject: Re: CODING_STANDARDS addition re: emalloc
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89267@lists.php.net to get a copy of this message
It might be a good idea to mention that almost in all cases memory returned to the engine has to be emalloced. You can also mention that malloc() also should be used if the memory has to survive in between requests. Andi At 10:14 PM 10/8/2002 -0400, Jon Parise wrote:
Attached is a patch that adds a new item to CODING_STANDARDS that suggests using emalloc() and friends over the standard C library version. It also offers an explanation, courtesy of Rasmus' reply to my earlier question on the subject. If no one objects to the addition in principle or in wording, I'll commit this in a few days. -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/) -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#89267) next »