【发布时间】:2016-10-03 18:28:01
【问题描述】:
我不想在技术支持脚本中创建禁词系统。
但我无法想象如何在其中设计json和foreach。
计划:
"banned_words": [
{
word, word2, word3, word4
message: why we banned this words
}
{
help, mail, register, email
message: we know whats the problem, be patient
}
]
JSON 设计应该如何以及如何在其中进行 foreach?
我正在使用 strpos() 函数检查票务消息。
【问题讨论】: