laruence / yac

A fast, lock-free, shared memory user data cache for PHP
Other
825 stars 199 forks source link

【建议】get新增支持获取多维数组的某一项 #103

Closed AndyChanCode closed 4 years ago

AndyChanCode commented 4 years ago

类似这种:

$yac = new Yac(); $yac->set('my', ['a' => ['b' => 'bbb', 'c' => 'ccc']]); $yac->get('my.a.b');

laruence commented 4 years ago

这个比较麻烦,因为数组是序列化后存到共享内存的