|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-12 09:24 UTC] php at bobsilva dot com
[2004-10-12 09:33 UTC] derick@php.net
[2004-10-20 01:00 UTC] php-bugs at lists dot php dot net
[2004-10-20 11:42 UTC] D dot Kingma at jool dot nl
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 17:00:01 2025 UTC |
Description: ------------ When a class extends the reflectionclass the initialized values of a property are forgotton (actually not only the value but the whole property, resulting in an Notice 'undefined property') Reproduce code: --------------- <?php class A extends reflectionClass{ public $x="you"; public function __construct(){ echo "Hello ".$this->x; } } new A(); ?> Expected result: ---------------- Hello you Actual result: -------------- Hello