note 75224 added to language.oop5.typehinting
| From: | AndreaGiammarchi at osu1 dot php dot net | Date: | Fri, 18 May 2007 15:05:49 +0000 |
| Subject: | note 75224 added to language.oop5.typehinting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126692@lists.php.net to get a copy of this message | ||
just a note about my example ... methods could obviously use my fake overload proposal inside
themself too
<?php
protected function doSomething2(A $a, B $b) {
return $this->doSomething($a).' and '.$this->doSomething($b).'
too';
}
protected function doSomething3(B $b, A $a) {
return $this->doSomething($b).' and '.$this->doSomething($a).'
too';
}
?>
:-)
----
Server IP: 213.92.11.19
Probable Submitter: 84.220.44.148
----
Manual Page -- http://www.php.net/manual/en/language.oop5.typehinting.php
Edit -- https://master.php.net/note/edit/75224
Del: integrated -- https://master.php.net/note/delete/75224/integrated
Del: useless -- https://master.php.net/note/delete/75224/useless
Del: bad code -- https://master.php.net/note/delete/75224/bad+code
Del: spam -- https://master.php.net/note/delete/75224/spam
Del: non-english -- https://master.php.net/note/delete/75224/non-english
Del: in docs -- https://master.php.net/note/delete/75224/in+docs
Del: other reasons-- https://master.php.net/note/delete/75224
Reject -- https://master.php.net/note/reject/75224
Search -- https://master.php.net/manage/user-notes.php