> -----Original Message----- > From: Zeev Suraski [mailto:z...@zend.com] > Sent: Wednesday, March 11, 2015 11:28 PM > To: 'Theodore Brown' > Cc: 'internals@lists.php.net' > Subject: RE: [VOTE][RFC] Coercive Scalar Type Hints > > Yes, with strict STH you'd know that more things fail during static analysis > time, because, well, it fails a lot more cases. What's the remedy? Typically it > would be forcing the type using an explicit cast, which is worse across the > board than a dynamic cast.
^^^ that should read "than a coercive type hint", sorry. Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php