verifyCode($secret, $token); if ($result) { echo "ok"; }