perl, v5.6.2 built for i686-linux-thread-multi
PHP-Serialization-0.27
Linux pc.local 2.6.12-2.3aspsmp #1 SMP Tue Mar 21 15:58:06 EST 2006 i686
i686 i386 GNU/Linux
There are problems with unserialize hashes with numeric keys.
For example in php serializing following array
array(
'lll' => array(
'195' => array(111, 'bbb'),
'194' => array(222, 'ccc'),
)
);
makes
a:1:{s:3:"lll";a:2:{i:195;a:2:{i:0;i:111;i:1;s:3:"bbb";}i:194;a:2:{i:0;i:222;i:1;s:3:"ccc";}}}
but unserialize in perl gets totally different result
'lll' => [
[
111,
'bbb'
],
[
222,
'ccc'
]
]