Re: memory allocation for PG() variables.

From: Date: Mon, 21 May 2001 04:07:57 +0000
Subject: Re: memory allocation for PG() variables.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-55998@lists.php.net to get a copy of this message
I'm pretty sure it's malloc()'ed. In any case, you'll crash pretty quickly if you use the wrong one :) Andi At 09:41 PM 5/20/2001 -0400, Egan wrote:
I see that PG(open_basdir) holds the value of open_basedir. I need to make a local hack to alter that value, adding a path from an Apache environment variable. After browsing the source for a while, I'm still uncertain on how memory is allocated for those PG() string variables. How should I alter a PG() variable? With some function like emalloc? TIA Egan -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#55998) next »