Re: Re: svn: /php/php-src/ branches/PHP_5_4/ext/reflection/php_reflection.c trunk/ext/reflection/php_reflection.c
| From: | Felipe Pena | Date: | Sun, 05 Jun 2011 11:59:09 +0000 |
| Subject: | Re: Re: svn: /php/php-src/ branches/PHP_5_4/ext/reflection/php_reflection.c trunk/ext/reflection/php_reflection.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52925@lists.php.net to get a copy of this message | ||
2011/6/5 Sebastian Bergmann <sebastian@php.net>
> Am 05.06.2011 10:59, schrieb Stanislav Malyshev:
> > stas Sun, 05 Jun 2011 08:59:24 +0000
> >
> > Revision:
> > http://svn.php.net/viewvc?view=revision&revision=311824
> >
> > Log:
> > This method doesn't seem to be very useful without scalar types, so
> reverting it too
>
> It is still useful for array | class/interface name. Or?
>
>
This method was included by the type-hint patch... For array/class/interface
we already have ->isArray() and ->getClass() methods. But I'm not against
having an unified one.
--
Regards,
Felipe Pena