Re: Return type hints

From: Date: Mon, 07 Apr 2008 17:37:08 +0000
Subject: Re: Return type hints
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-36854@lists.php.net to get a copy of this message
On 07.04.2008, at 18:49, Christian Schneider wrote:
Felipe Pena wrote:
Right, this shouldn't even be on the agenda before we have scalar type hints. So, perhaps you can make a patch for that first Felipe?
I don't thought this before! Sure, i'll try provide a patch.
Just so this side was mentioned once again too: There are people who consider type hints and especially scalar type hints A Bad Thing(tm) as it is contrary to the PHP strength of dynamic typing and automatic type conversion.
Right if at all I would agree on having a type hint "scalar", but not a separate one per type. regards, Lukas

« previous php.internals (#36854) next »