note 48805 added to language.oop5.decon
| From: | donpro at lclnav dot com | Date: | Fri, 07 Jan 2005 14:52:34 +0000 |
| Subject: | note 48805 added to language.oop5.decon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82905@lists.php.net to get a copy of this message | ||
I am using PHP 5.0.3 and was playing with the above example. I changed the code by omitting the
'final' keword from the contructor in the Foo class and still got the same result, i.e.,
the constructor was called when only this code was run:
$Obj = new Baz( "Passed to new Baz( )" );
----
Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48805
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48805&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48805&report=yes
Search -- http://master.php.net/manage/user-notes.php