Home > Article > Backend Development > 判定长度能不能简单化
判定长度能不能简化?
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->if(mb_strlen($_POST['wage']) > 4 && mb_strlen($_POST['url']) > 12 && mb_strlen($_POST['task'],'utf-8') > 20 && mb_strlen($_POST['task'],'utf-8')