On Thu, Apr 28, 2011 at 10:39:55AM +0200, Ferenc Kovacs wrote:

> do you aware that without the scalar support, the return type hinting would
> behave just as "strict" as the argument type hinting is currently.
> http://php.net/manual/en/language.oop5.typehinting.php
> 
> so maybe type hinting wasn't a good name at the first place, but we should
> be consistent with the current naming convention.

Yes, it was a poor choice of words. I think that it should be renamed 'type 
checking'
with a transition note, eg:

        Type checking (formerly called type hinting)

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: 
http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to