Date: 09/18/00
- Next message: Zak Greant: "[PHP-DEV] PHP|QAT SourceForge Account"
- Previous message: Robert <email protected>: "[PHP-DEV] PHP 4.0 Bug #6803: when AddModule mod_php4.c: Cannot remove module mod_php4.c: not found"
- In reply to: Steeve Lennmark: "[PHP-DEV] RE: [PHP] Function overloading bug?"
- Next in thread: Szii: "[PHP-DEV] RE: [PHP] Function overloading bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 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 <email protected> · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net ·-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zak Greant: "[PHP-DEV] PHP|QAT SourceForge Account"
- Previous message: Robert <email protected>: "[PHP-DEV] PHP 4.0 Bug #6803: when AddModule mod_php4.c: Cannot remove module mod_php4.c: not found"
- In reply to: Steeve Lennmark: "[PHP-DEV] RE: [PHP] Function overloading bug?"
- Next in thread: Szii: "[PHP-DEV] RE: [PHP] Function overloading bug?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

