Re: Invokation on __toString() for object used as array key
| From: | Stas Malyshev | Date: | Wed, 24 Sep 2014 19:39:50 +0000 |
| Subject: | Re: Invokation on __toString() for object used as array key | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77586@lists.php.net to get a copy of this message | ||
Hi!
> I also wonder why we still need them. Doing what has been done with gmp
> for all resources would be a good move for 7.
In general, I think we do not - IIRC everything resources do objects can
do better now, and the problems that prevented one from using objects
instead of resources are long gone.
However, is_resource() checks and lots of third-party extensions using
resources may be a bit of a problem for eliminating them.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/