|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-11-02 01:14 UTC] requinix@php.net
-Status: Open
+Status: Feedback
-Package: Feature/Change Request
+Package: *General Issues
[2014-11-02 01:14 UTC] requinix@php.net
[2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 10 07:00:01 2025 UTC |
Description: ------------ Obviously, the constructor of a base class will remain unaffected when calling an successor object. It should be a very essential feature. Because, also base classes maybe needs private initiations. Reproduce code: --------------- Class Base { private $test; function __construct ( $moduleData ) { $test = "Hello World"; } } Class Successor extends Base { echo $this->test; }