質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,6 @@
|
|
6
6
|
|
7
7
|
```PHP
|
8
8
|
|
9
|
-
echo preg_replace('/<PublishId>(.*)?</PublishId>/', '<PublishId>
|
9
|
+
echo preg_replace('/<PublishId>(.*)?</PublishId>/', '<PublishId>TEST</PublishId>', $del_contents);
|
10
10
|
|
11
11
|
```
|
1
説明の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
下記の方法では、Warning: preg_replace(): Unknown modifier 'P' in とエラーになってしまいます。
|
4
4
|
|
5
|
-
|
5
|
+
また、数字3が入っている部分は変動します。
|
6
6
|
|
7
7
|
```PHP
|
8
8
|
|