Re: FastArray, great addition
| From: | Alexey Zakhlestin | Date: | Wed, 18 Jun 2008 15:17:13 +0000 |
| Subject: | Re: FastArray, great addition | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38354@lists.php.net to get a copy of this message | ||
On 6/18/08, Antony Dovgal <tony@daylessday.org> wrote:
> > 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.
I will give it a try
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/