empty,php中使用split()出现Warning: split(): REG_EMPTY

【错误内容】:当PHP中使用split()拆分字符时,出现Warning: split(): REG_EMPTY.
【解决办法】:使用转义符号,即split('\|', $key);
Tags:  empty

延伸阅读

最新评论

发表评论