V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cnlinux
V2EX  ›  问与答

请教 similar() 这个怎么改

  •  
  •   cnlinux · Feb 13, 2023 via iPhone · 1151 views
    This topic created in 1174 days ago, the information mentioned may be changed or developed.
    if (similar_text($lastname,$firstname) >3) {

    $error=true;
    }
    如果想写成

    if (similar_text($lastname,$firstname,$percent) {

    $error=true
    }

    应该怎么改?
    Thx
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2467 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:03 · PVG 20:03 · LAX 05:03 · JFK 08:03
    ♥ Do have faith in what you're doing.