note 34676 deleted from language.functions by googleguy
| From: | googleguy@php.net | Date: | Fri, 11 Jan 2013 09:36:32 +0000 |
| Subject: | note 34676 deleted from language.functions by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192922@lists.php.net to get a copy of this message | ||
Note Submitter: removeloop at removesuperinfinite dot com
----
Method overloading is however permitted.
<?php
class A {
function A() { }
function ech() {
$a = func_get_args();
for( $t=0;$t<count($a); $t++ ) {
echo $a[$t];
}
}
}
$test = new A();
$test->ech(0,1,2,3,4,5,6,7,8,9);
?>
// output:
// 0123456789