Re: technical issues in type hinting patch are not as big of an issue as it appears

From: Date: Thu, 09 Jul 2009 19:22:05 +0000
Subject: Re: technical issues in type hinting patch are not as big of an issue as it appears
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-44882@lists.php.net to get a copy of this message
Hi!
You assume that cast type hinting will be the implementation chosen. If the type hinting is in fact validation the way object type hinting is (strict type hinting), no conversion takes place, and the meaning is different. I should have said "if strict type hinting is implemented" in the drawback description to make that clear.
If there's only strict typing, there's no reason to make it's syntax to be resembling typecasts. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#44882) next »