Hi Marcus. Thanks for replying. Yes, I understand that very well, having been involved in open source projects, myself, as well [1]. If I felt really strongly for this one, I could do it, myself. :) I was mostly just interested in knowing if this one was still a "go". In our systems, we've prepared for it, thus:
function f(Something $value) /** @return SomethingElse */ { // ... } By the way, I appreciate all the work that you and the other developers are doing for PHP. Regards, Terje [1] I've been involved in Loki (http://sourceforge.net/projects/loki-lib), co-authoring the port of the library to Borland C++ (which was non-trivial, given that Loki uses cutting-edge C++), as well as having been project admin. Another project I'm involved in is the C++ "Concept Traits Library" (http://www.neoscientists.org/~tschwinger/boostdev/concept_traits/libs/conce pt_traits/doc/), which is a library to implement "concepts" (like Haskell's "type classes") in C++. Unfortunately, I haven't had a chance to do anything with either of these for a long time, due to work, so I full well understand that people may be busy with other things. :) ----- Original Message ----- From: "Marcus Boerger" <[EMAIL PROTECTED]> To: "Terje Slettebø" <[EMAIL PROTECTED]> Cc: <internals@lists.php.net> Sent: Tuesday, September 12, 2006 11:00 PM Subject: Re: [PHP-DEV] Return type hints > Hello Terje, > > at some point i might find time to do something. I guess all others who > could do something in that area are occupied either by unicode or > namespaces. This means we still have this on the todo. We are only open > source and all do stuff in our free time.... > > best regards > marcus > > Tuesday, September 12, 2006, 11:40:54 AM, you wrote: > > > Hi again. > > > To something different: I've read [1] that return type hints for functions > > have been considered for PHP 6, possibly even planned. In [1], it says: "We > > will add support for type-hinted return values." > > > I've searched the archives, but haven't found much on this since about a > > year ago. Does anyone have the latest on this? Is it planned, dropped, over > > somebody's "smoking carcass", ;) or what? > > > I've also tried the latest PHP 6 dev-version, a while ago, but it seems it's > > not in there, yet, at least. > > > If not dropped, have a syntax for this been agreed on? > > > Regards, > > > Terje > > > [1] > > http://www.php.net/~derick/meeting-notes.html#type-hinted-properties-and-return-values > > > > > Best regards, > Marcus > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php