|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-13 09:00 UTC] tony at daylessday dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 13:00:01 2025 UTC |
Description: ------------ 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; var_dump($haru->myProperty); Expected result: ---------------- string(2) "Ok" Actual result: -------------- Notice: Undefined property: MyHaruDoc::$myProperty in %s on line %i NULL