cnlinux
V2EX  ›  问与答

请教 similar() 这个怎么改

  •  
  •   cnlinux · Feb 13, 2023 via iPhone · 1266 views
    This topic created in 1221 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   ·   1181 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:28 · PVG 01:28 · LAX 10:28 · JFK 13:28
    ♥ Do have faith in what you're doing.