質問編集履歴

2

誤字

2019/07/12 07:06

投稿

web_start
web_start

スコア19

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>del</PublishId>', $del_contents);
9
+ echo preg_replace('/<PublishId>(.*)?</PublishId>/', '<PublishId>TEST</PublishId>', $del_contents);
10
10
 
11
11
  ```

1

説明の修正

2019/07/12 07:06

投稿

web_start
web_start

スコア19

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