php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4497 PHP has encountered an Access Violation while using class
Submitted: 2000-05-18 12:18 UTC Modified: 2000-07-30 17:21 UTC
From: daniel dot burckhardt at sur-gmbh dot ch Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Release Candidate 2 OS: Windows NT 4.0 SP5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: daniel dot burckhardt at sur-gmbh dot ch
New email:
PHP Version: OS:

 

 [2000-05-18 12:18 UTC] daniel dot burckhardt at sur-gmbh dot ch
-> PHP has encountered an Access Violation at 0136AA24
shows up in about 50% of the cases if i'm using a class which looks like the following:

class RecordSQL extends Record {
[snip]
  function fetch($args) {
[snip]
	    while (list($name, $thisfield) = each($this->fields)) {
		  $value = $dbconn->Record[$name];
		  $type  = $thisfield->get('datatype');
		  $value = $this->sql_decode($type), $value);
		  $this->set_value($name, $value);
		}
[snip]
  }
}

if i uncomment the line
//  		  $value = $this->sql_decode($type, $value);


-> runs ok

if you want the full source code, please drop me a mail

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-30 14:33 UTC] zak@php.net
Have you tried a recent release of PHP?  If so, did the problem re-occur?
 [2000-07-30 14:34 UTC] zak@php.net
Setting status to feedback.
 [2000-07-30 17:21 UTC] daniel dot burckhardt at sur-gmbh dot ch
Seems to be eliminated in PHP 4.0.1pl2 (on Windows NT 4.0 SP5)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 08:01:30 2024 UTC