Respect/Validation を使用し、email() を使用すると...問題は次のとおりです。
文字列を検証すると、うまくいきますvalidator::email()->validate('hello@helloworld.com');!
変数を検証すると、validator::email()->validate($_POST['email']);機能しません!
コンテンツをチェックインしようとしましたが、$_POST['email']次のとおりです。hello@helloworld.com
の正確な出力var_dump($_POST['email']);は次のとおりです。string(21) " hello@helloworld.com"