PHP 4.0 Bug #4497: PHP has encountered an Access Violation while using class

From: Date: Thu, 18 May 2000 10:18:03 +0000
Subject: PHP 4.0 Bug #4497: PHP has encountered an Access Violation while using class
Groups: php.dev 
Request: Send a blank email to php-dev+get-18908@lists.php.net to get a copy of this message
From: daniel.burckhardt@sur-gmbh.ch Operating system: Windows NT 4.0 SP5 PHP version: 4.0 Release Candidate 2 PHP Bug Type: Scripting Engine problem Bug description: PHP has encountered an Access Violation while using class -> 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

« previous php.dev (#18908) next »