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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 10:01:33 2025 UTC