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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fred at cr451334-a dot ktchnr1 dot on dot wave dot home dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC