|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59565 property failures when extending class
Submitted: 2011-01-07 11:41 UTC Modified: 2011-01-08 17:28 UTC
From: guenter at grodotzki dot ph Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.3.2 OS: Linux Debian Lenny
Private report: No CVE-ID: None
 [2011-01-07 11:41 UTC] guenter at grodotzki dot ph
I am having the same problem as described here:

* Linux Debian 5.0 (newest updates/upgrades)
* PHP-FPM 5.3.4 / Imagick 3.0.1
* Lighttpd 1.5 (svn)

When extending Imagick, e.g.

"class imagehandler extends Imagick"

I can not write my properties - no matter what visibility they have.

Reproduce code:
class db_image extends IMagick {

private $data;

function __construct( $id = null ){

    $this->data = 'some plain text';

    echo $this->data;

Expected result:
some plain text

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-08 17:28 UTC]
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.


should be fixed in trunk now. See tests/bug21229.phpt
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sat Nov 18 13:03:07 2017 UTC