質問編集履歴
1
function の変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
```
|
15
|
-
public kigouCheck(int $number){
|
15
|
+
public kigouCheck(int $number ,$value){
|
16
16
|
$escaped = preg_quote('!#$%()*+-./:;=?@[]^_`{|}', '/');
|
17
17
|
|
18
18
|
return preg_match('/['.$escaped.']{'.$number.',}/u', $value) === 1;
|