Heim >Backend-Entwicklung >PHP-Tutorial >这是php json_encode编译过的数据吗 a:1:{s:7:"default";s:2:"40";}
怎么是这种格式?我编译过的是这样的格式[{"0":"11","commission1":"11","1":"22","commissions":"22"}]
不是!
时序列化的结果
$s = 'a:1:{s:7:"default";s:2:"40";}';print_r(unserialize($s));
Array( [default] => 40)