Re: [PHP4BETA] cvs: /php4 TODO
| From: | Thies C. Arntzen | Date: | Sun, 02 Jan 2000 18:31:21 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 TODO | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8814@lists.php.net to get a copy of this message | ||
On Sun, 2 Jan 2000, Andrei Zmievski wrote:
> At 05:56 PM 1/2/00 +0000, Thies C. Arntzen wrote:
> >thies Sun Jan 2 12:56:33 2000 EDT
> >
> > Modified files:
> > /php4 TODO
> > Log:
> > nice to have.
> >
> >
> >Index: php4/TODO
> >diff -u php4/TODO:1.29 php4/TODO:1.30
> >--- php4/TODO:1.29 Sat Jan 1 16:20:35 2000
> >+++ php4/TODO Sun Jan 2 12:56:02 2000
> >@@ -29,6 +29,10 @@
> > * add remarks in the documentation which functions are not implemented
> >on win32.
> > * add remarks in the documentation which functions are not binary-safe.
> >
> >+ext/wddx
> >+--------
> >+ * should support IS_BOOL and IS_UNSET (NULL) natively
> >+
>
> Tell me how to map that to the WDDX DTD. IS_UNSET is easy since it would an
> empty value, but IS_BOOL?
just checked the perl wddx (0.171) thing:
- they claim their packets are <wddxPacket version='1.0'>
- bools would be <boolean value='false'/> / <boolean value='true'/>
- IS_UNSET would be <null/> *not* empty!!
BTW: i'd like a as_javascript thingie as well:
from the WDDX.pm:
Example:
$options[0] = $wddx->string( "First Choice" );
$options[1] = $wddx->string( "Second Choice" );
$options[2] = $wddx->string( "Third Choice" );
$w_array = $wddx->array( \@options );
print $w_array->as_javascript( "myArray" );
This prints the text (new lines added for readability):
myArray=new Array();
myArray[0]="First Choice";
myArray[1]="Second Choice";
myArray[2]="Third Choice";
nice, eh?
tc
>
>
> -Andrei
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany