質問編集履歴
1
半角英数の場合、「0」を返している→半角数字の場合、「0」を返している
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
preg_matchで入力文字列が半角
|
15
|
+
preg_matchで入力文字列が半角数字の場合、「0」を返している
|
16
16
|
|
17
17
|
```
|
18
18
|
|