php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3503 @ causes memory leak?
Submitted: 2000-02-16 17:12 UTC Modified: 2000-02-25 04:55 UTC
From: fred at cr451334-a dot ktchnr1 dot on dot wave dot home dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 3 OS: Linux Mandrake 6.1 (2.2.13)
Private report: No CVE-ID: None
 [2000-02-16 17:12 UTC] fred at cr451334-a dot ktchnr1 dot on dot wave dot home dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-25 04:55 UTC] thies at cvs dot php dot net
fixed in b4

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC