PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Tools and Utilities » CodeGen_PECL » Bug #8107

Bug in Class Constructor Set in Class.php

Details

Submitted2006-07-03 11:08 UTC
Fromalex dot novac at zitec dot ro
Assignedhholzgra
StatusClosed
PackageCodeGen_PECL
PHP VersionIrrelevant
OSIrrelevant (Linux)
Roadmaps(Not assigned)

Comments

[2006-07-03 11:08 UTC] alex dot novac at zitec dot ro

Description:
------------
There is a bug in the class constructor set code in Class.php that sets the constructor to the destructor. See Test Script for a patch.

Test script:
---------------
--- Class.php~ 2006-06-21 13:01:10.000000000 +0300
+++ Class.php 2006-06-21 13:01:10.000000000 +0300
@@ -375,7 +375,7 @@
*/
function setPayloadCtor($code)
{
- $this->payloadDtor = $code;
+ $this->payloadCtor = $code;
}

/**