ãããä½ããã£ã¦ããããããªãã¨ãããããããï¼ï½ï½ ãªãã§ãããªãã¨ããªãããããªãã®ããããã¾ãããã æååãå¿ ãæ¯ååã(int)æ°å¤ã«ãªãããã«ããªãããããªããªãã¾ãã¦ã ãããªæãã§ããã¦ã¿ã¾ããã $word2Int = (int)("1".substr(preg_replace("/[^0-9]+/","",md5($word)),1,9)); ä¸å¿ã³ã¡ã³ããã¤ããã¨ããã° æååãmd5ãã¦ããããã0-9以å¤ã®æ°å¤ãåãåã£ã¦ã PHP_INT_MAXã®å¤ã®æ¡æ°ãããã¾ã§ã«æããããã«substrã㦠é ã0ã ã¨8é²æ°ã«ãªã£ã¦8,9ã®æ°å¤ãã¶ã£å£ããã®ã§é©å½ã«é ã¯1åºå®ã¨ãã«ãã¦ã ããã(string)ãã(int)ãã£ã¹ããããããã§ãã ãããªãããã $word2Int[] = (int)("1".substr(preg_replace("/[^0-9]+/"
{{#tags}}- {{label}}
{{/tags}}