vcollect
是一个PHP c extension,提供流畅、便利的数组数据操作。
定位于PHP下的ext目录,执行
git clone https://github.com/VikinDev/v-collect.git
在扩展目录内,执行
phpize
./configure
make && make install
在php.ini文件中加入extension = vcollect.so
$test = vcollect([1, 2, 3, 4, 5, 6]);
wikin:https://github.com/VikinDev/v-collect/wiki
MIT