PHP 4.0 Bug #3503: @ causes memory leak?
| From: | fred at cr451334-a dot ktchnr1 dot on dot wave dot home dot com | Date: | Wed, 16 Feb 2000 16:12:46 +0000 |
| Subject: | PHP 4.0 Bug #3503: @ causes memory leak? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15588@lists.php.net to get a copy of this message | ||
From: fred@cr451334-a.ktchnr1.on.wave.home.com
Operating system: Linux Mandrake 6.1 (2.2.13)
PHP version: 4.0 Beta 3
PHP Bug Type: Other
Bug description: @ causes memory leak?
I have installed php 4.0b3 with mysql support compiled in running as a module in apache 1.3.9.
I wanted to suppress warnings generated when I connected to the database (within an object) by using
an @ before the following line:
@$this->Connection = mysql_connect($Host,$User,$Password);
However, this causes a the following message in /var/logs/httpd/error_log:
zend_execute.c(392) : Freeing 0x081C0718 (12 bytes), script=/home/httpd/stage/Admin/index.php
Removing the @ before the connection line seems to eliminate this message.