The 2nd writeit() makes a call to $this->writeit() and evaluates itself in
the context of itself, instead of within the context of the class. ie, it
tries to call itself instead of evaluating against the class, finding the
"2 parameter method," and using it. This then generates a warning
about an unused $outText and calls itself recursively, and infinitely.
yup, this is expected behaviour, php does not support method overloading, you can emulate this behaviour though, it´s unfortunately not supported directly
no bug
andré
--
· André Langhorst · t: +49 571 3201801 ·
· waldschrott@php.net · m: +49 173 9558736 ·
· PHP Quality Assurance · http://qa.php.net ·