note 101008 added to language.oop5.interfaces

From: Date: Fri, 19 Nov 2010 19:07:11 +0000
Subject: note 101008 added to language.oop5.interfaces
Groups: php.notes 
Request: Send a blank email to php-notes+get-174209@lists.php.net to get a copy of this message
here is my simply method muliple inheritence with __construct function.. <?php class foo { protected $mam = 'mamam'; function __construct() { echo 'foo'; } } class bar extends foo { function __construct() { parent:: __construct(); echo 'bar'; } } class foobar extends bar { function __construct() { parent:: __construct(); echo 'foobar'; } } $foo = new foobar(); ---- Server IP: 69.147.83.197 Probable Submitter: 122.144.3.3 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.interfaces.php Edit -- https://master.php.net/note/edit/101008 Del: integrated -- https://master.php.net/note/delete/101008/integrated Del: useless -- https://master.php.net/note/delete/101008/useless Del: bad code -- https://master.php.net/note/delete/101008/bad+code Del: spam -- https://master.php.net/note/delete/101008/spam Del: non-english -- https://master.php.net/note/delete/101008/non-english Del: in docs -- https://master.php.net/note/delete/101008/in+docs Del: other reasons-- https://master.php.net/note/delete/101008 Reject -- https://master.php.net/note/reject/101008 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#174209) next »