Re: Re: Type-hinted return values in PHP5?
| From: | Johannes Schlüter | Date: | Thu, 19 Jul 2007 02:04:52 +0000 |
| Subject: | Re: Re: Type-hinted return values in PHP5? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31071@lists.php.net to get a copy of this message | ||
On Wed, 2007-07-18 at 21:55 +0200, troels knak-nielsen wrote:
> On 7/18/07, David Duong <david.nqd@gmail.com> wrote:
> > Since there isn't any comments on this, should I have posted this
> > elsewhere? or is it just that no one is interested?
>
> It could be interesting to know, if the reason why this hasn't been
> implemented already, is technical one, or a design decision?
Most likely no developer with enough knowledge had the
motivation/need/whatever to sit down and implement this. Don't forget
that most work on PHP is done on a voluntary basis so some features
which might look interesting for a few users might have lower priority
for developers.
To the original question: The patch might be applied to a 5.3 branch,
maybe. Not to 5.2 since it would break BC. A 5.3 branch is not yet
planned so there's no decision about what is being merged there from
head or not.
johannes