Re: Invokation on __toString() for object used as array key

From: Date: Wed, 24 Sep 2014 06:30:33 +0000
Subject: Re: Invokation on __toString() for object used as array key
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-77568@lists.php.net to get a copy of this message
Hi! > Well, then let's remove this restriction from resources, too. Not sure what use would it be for resources - resource IDs are not controlled by user code and for all intents and purposes are opaque numbers, which also do not have to be unique over the life of the script. What use would it be to index by those, especially by implicit convert? I don't think right now we have implicit convert of resources to ints anywhere, like we do have with __toString. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/

« previous php.internals (#77568) next »