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

posted @ 2015-12-22 16:03  ﹏Sakura  阅读(558)  评论(0)    收藏  举报