Re: [PHP-DEV] memory allocation for PG() variables. From: Andi Gutmans (andi <email protected>)
Date: 05/21/01

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 <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>