1--TEST-- 2Bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 3--FILE-- 4<?php 5 6error_reporting(E_ALL); 7 8var_dump($a = unserialize('a:2:{s:2:"10";i:1;s:2:"01";i:2;}')); 9var_dump($a['10']); 10var_dump($a[b'01']); 11 12?> 13--EXPECT-- 14array(2) { 15 [10]=> 16 int(1) 17 ["01"]=> 18 int(2) 19} 20int(1) 21int(2) 22