Hi, On Fri, Sep 27, 2002 at 11:15:59PM +0800, Jimmy wrote: > > $complex_var = array ( > 0 => 'nothing', > 'MyOS' => array('linux', 'win32', 'BSDI'), // normal array > 'hash' => array('key' => 'val', > 'key2' => 'val' ), //assoc array > 'file' => "contain unicode char, so I want binary" > ) > > wddx_serialize($complex_var, WDDX_BINARY); > wddx_serialize($complex_var, WDDX_ARRAY); > wddx_serialize($complex_var, WDDX_HASH); > // what will happen if user call the function with those param? what about wddx_serialize($complex_var, array( WDDX_EMPTY, ... WDDX_HASH => array( WDDX_STRING=>WDDX_STRING, WDDX_STRING=>WDDX_STRING) ), WDDX_BINARY ); It just came to my mind, I haven't thought that through.
Jan --- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail. Key 7BCC EB86 8313 DDA9 25DF Fingerprint 1805 ECA5 BCB7 BB96 56B0 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php