类型错误
类型错误调试的技巧
有时候,类型错误提示比较不友好,比如不知道哪个字段出错。
在php中可以用
//过滤几个数据进行操作,逐个检查,或者折半查找错误
$data = array_splice($data,5,3);
Expected 4 or 0 byte int (3)
一般是错误的类型,比如string,被写入到int类型,因为int是4个字节
Invalid uuid value: '1443592192'
某个uuid或者timeuud错误都会报uuid错误