运维网's Archiver
论坛
›
php
› php中使用split()出现Warning: split(): REG_EMPTY
tiyan
发表于 2017-4-10 08:57:05
php中使用split()出现Warning: split(): REG_EMPTY
【错误内容】:当PHP中使用split()拆分字符时,出现Warning: split(): REG_EMPTY.
【解决办法】:使用转义符号,即split('/|', $key);
页:
[1]
查看完整版本:
php中使用split()出现Warning: split(): REG_EMPTY