Re: RFC: Type hinting revisited for PHP 5.3

From: Date: Wed, 01 Jul 2009 18:44:11 +0000
Subject: Re: RFC: Type hinting revisited for PHP 5.3
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-44592@lists.php.net to get a copy of this message
Hi!
As far as your point goes, numeric hint addresses it.
Numeric hint addresses one scenario only. It doesn't address conversions to strings or booleans, for example (even C allows you to use int as boolean! :). -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#44592) next »