AW: AW: [PHP-DEV] Method overloading by method signature
| From: | Hans Moog | Date: | Tue, 16 Oct 2007 07:32:19 +0000 |
| Subject: | AW: AW: [PHP-DEV] Method overloading by method signature | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32805@lists.php.net to get a copy of this message | ||
It allows you to be strict when messing with types but it doesn't allow you to overload type
hinted methods ... so this is no solution to the problem of overloading type hinted methods, is it ?
-----Ursprüngliche Nachricht-----
Von: Stanislav Malyshev [mailto:stas@zend.com]
Gesendet: Mo 15.10.2007 18:38
An: Umberto Salsi
Cc: internals@lists.php.net
Betreff: Re: AW: [PHP-DEV] Method overloading by method signature
> That's why I developed PHPLint, a PHP parser and validator that performs
> a static analysis of the source, ensuring the safe handling of types. In
> a word, this tool makes PHP very close to a strong-typed language without
> the need to further complicate the interpreter with new features that would
> pervert the nature of the language.
I think this is better solution than messing with the language :)
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php