When ini setting variables_order is empty there are memory leaks in
cgi as well as cli version. See below:

marcus

[marcus@zaphod marcus]$ echo "<?php var_dump($_ENV);?>" | /usr/src/php4-ZE1/sapi/cgi/php-cgi
/home/marcus/-(1) : Warning - Wrong parameter count for var_dump()
Status: 200
Content-type: text/html
X-Powered-By: PHP/4.3.0-dev

/usr/src/php4-ZE1/Zend/zend_hash.c(262) : Freeing 0x084409C0 (40 bytes), script=-
Last leak repeated 40 times
/usr/src/php4-ZE1/main/main.c(1434) : Freeing 0x08440928 (12 bytes), script=-
/usr/src/php4-ZE1/Zend/zend_hash.c(178) : Freeing 0x084408D8 (32 bytes), script=-
/usr/src/php4-ZE1/main/main.c(1387) : Freeing 0x08440878 (44 bytes), script=-
/usr/src/php4-ZE1/Zend/zend_API.c(565) : Actual location (location was relayed)
/usr/src/php4-ZE1/main/main.c(1386) : Freeing 0x08440838 (12 bytes), script=-
/usr/src/php4-ZE1/main/php_variables.c(175) : Freeing 0x08440798 (12 bytes), script=-
Last leak repeated 38 times
/usr/src/php4-ZE1/ext/standard/string.c(2485) : Freeing 0x08440408 (1 bytes), script=-
Last leak repeated 38 times
/usr/src/php4-ZE1/Zend/zend_hash.c(440) : Freeing 0x08440278 (256 bytes), script=-
/usr/src/php4-ZE1/main/main.c(1214) : Freeing 0x0843E3B8 (44 bytes), script=-
/usr/src/php4-ZE1/Zend/zend_API.c(565) : Actual location (location was relayed)
/usr/src/php4-ZE1/main/main.c(1213) : Freeing 0x0843E378 (12 bytes), script=-

At 13:30 06.11.2002, Kjartan Mannes wrote:
I just tried using php-cli from the latest cvs and am a little confused
by the placement of shell environment variables. $_ENV is empty, but the
values are stored in $HTTP_SERVER_VARS and $_SERVER.

Is this the proper behavior?

--
Kjartan <[EMAIL PROTECTED]> (http://natrak.net/)
:: "Women are made to be loved, not understood." - Oscar Wilde


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to