cnlinux
V2EX  ›  问与答

请教 similar() 这个怎么改

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