Home » Tools and Utilities » CodeGen_PECL » Bug #8107
Bug in Class Constructor Set in Class.php
Details
| Submitted | 2006-07-03 11:08 UTC |
|---|---|
| From | alex dot novac at zitec dot ro |
| Assigned | hholzgra |
| Status | Closed |
| Package | CodeGen_PECL |
| PHP Version | Irrelevant |
| OS | Irrelevant (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;
}
/**