> On Thu, Apr 24, 2014 at 09:59:19AM -0600, Levi Morrison wrote:>> - This RFC does not add, modify, or remove keywords at all; this notably>> excludes type-hints for scalars. Supporting scalar type declarations is>> outside the scope of this RFC; if you are interested in supporting scalar>> type declarations please discuss it elsewhere.> Well, I think that that should be added here also your future work of 'void'.> So, add: int, float, numeric (int or float), string, bool, void.>> Sorry.
Addressing scalar return hints in this proposal would be foolish without
also introducing scalar parameter typing. Beyond that, addressing scalars
would almost certainly doom the RFC to rejection as scalar typing is like
the Vietnam of php-src ;)
At first glance this looks to me like a workable solution precisely because
it allows progress while avoiding the scalar quagmire.