cnlinux
V2EX  ›  问与答

请教 similar() 这个怎么改

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