[PHP-DEV] memory allocation for PG() variables.

2001-05-20 Thread Egan
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

Re: [PHP-DEV] memory allocation for PG() variables.

2001-05-20 Thread Andi Gutmans
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