Re: Re: [ANNOUNCEMENT] spidermonkey-0.1.2 (beta) Released.

From: Date: Sun, 15 Mar 2009 22:12:12 +0000
Subject: Re: Re: [ANNOUNCEMENT] spidermonkey-0.1.2 (beta) Released.
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6216@lists.php.net to get a copy of this message
Hello 2009/3/15 Marcin Kurzyna <m.kurzyna@crystalpoint.pl>: > "PECL Announce" wrote: > > Hi PECL ;-) > >> The new PECL package spidermonkey-0.1.2 (beta) has been released at > > I've been playing around with spidermonkey extension for the last 48h doing > some extensive testing (and although it's nice it's also terribly unstable > and unpredictable; .phpt will follow later this week for both > inconsistencies and crashes) > > there is however one problem i've tried to fix at hand - it's the missing > array type support. > > passing arrays as stdClass is inconvinient as $stdClass->0 doesn't work - > one has to use ugly $stdClass->{"0"} to access properties. also array cast > is usless because of PHP dynamic types: > > $array[0] == $array['0'] > > so one can't access $array[(string)"0"] which is a real string index after > cast. Or spidermonkey could be altered to return an ArrayObject from SPL to do this ;) -- Kalle Sommer Nielsen kalle@php.net

« previous php.pecl.dev (#6216) next »