$date could be "23/09/2012" or "23-09-2012" or "23\09\2012" preg_split('/[\/\-\\]/', $date);
不确定为什么PHP会继续抛出missing terminating ] error?
missing terminating ] error
php preg-split
php ×1
preg-split ×1