xorax_serialize v1.2

informations sur xorax.info

notre tableau php :
$arr = Array
(
    [0] => myobj Object
        (
            [myvar1] => var1
            [myvar2] => var2
        )

    [1] => cell
    [key] => cell_string_index
    [4] => cell_numeric_index
    [arr] => Array
        (
            [key1] => toz
            [key2] => Array
                (
                    [ok] => ko
                )

        )

    [5] => retest
)
tableau serializé avec php :
serialize($arr) = a:6:{i:0;O:5:"myobj":2:{s:6:"myvar1";s:4:"var1";s:6:"myvar2";s:4:"var2";}i:1;s:4:"cell";s:3:"key";s:17:"cell_string_index";i:4;s:18:"cell_numeric_index";s:3:"arr";a:2:{s:4:"key1";s:3:"toz";s:4:"key2";a:1:{s:2:"ok";s:2:"ko";}}i:5;s:6:"retest";}

tableau sérilizé en php puis désérializé en JS :