php 'zero-length keys are not allowed'
zero-length keys are not allowed, did you use $ with double quotes?
update操作,新的数组是一个二维数组,比如 array('$set'=>array('a'=>1));
但是实际情况是 array(''=>array('a'=>1));
就报这个错误了
转自:http://blog.sina.com.cn/s/blog_4ffbe80f0101k36v.html
生命只有一次。