Re: type hinting

From: Date: Fri, 04 Jan 2008 18:30:15 +0000
Subject: Re: type hinting
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-34440@lists.php.net to get a copy of this message
To make it optional was to lower the issues for those who don't care about argument strictness. We did not give them this choice for the OO strictness.
OO mandates you to work in certain way. However, the way PHP works with values was never type-strict and there's no reason to suddenly change PHP into type-strict language. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#34440) next »