|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58549 Cannot access to object properties when extending HaruDoc class
Submitted: 2009-02-13 08:25 UTC Modified: 2009-02-13 09:00 UTC
From: ladislav at marek dot su Assigned:
Status: Closed Package: haru (PECL)
PHP Version: 5.2.5 OS: Linux
Private report: No CVE-ID: None
 [2009-02-13 08:25 UTC] ladislav at marek dot su
Is not possible to access added properties when extends 
'HaruDoc' class.

PHP version is 5.2.8.

Reproduce code:
class MyHaruDoc extends HaruDoc
    public $myProperty = 'Ok';

$haru = new MyHaruDoc;

Expected result:
string(2) "Ok"

Actual result:
Notice: Undefined property: MyHaruDoc::$myProperty in %s on 
line %i


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-13 09:00 UTC] tony at daylessday dot org
This bug has been fixed in CVS.

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.

Fixed in CVS, thanks.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:32 2024 UTC