On 18.06.2008 16:40, Alexey Zakhlestin wrote:
On 6/18/08, Antony Dovgal <[EMAIL PROTECTED]> wrote:
Though I'd like to be able to cast these arrays to PHP's arrays and we need
to implement get_properties() handler for that.
If there are no objections, I'll commit my patch when I get back home (30th
of June).
2-way conversion would be perfect ;)
There is no way to cast an array to an object of certain class,
but it should not be a problem to add a function to convert array to fastarray.
Want to make a patch yourself?
Should be pretty easy to do, just don't forget to throw an exception on string
key.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php