From f96b0cf776e3ea6c06bf1e2471a5822437f973c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=BA=B7=E5=AE=87?= <746294093@qq.com>
Date: Thu, 6 Jun 2024 14:24:52 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A00053.=E6=9B=BF=E6=8D=A2?=
=?UTF-8?q?=E6=95=B0=E5=AD=97.md=20PHP=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
problems/kamacoder/0054.替换数字.md | 37 +++++++++++++++++++++++--
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/problems/kamacoder/0054.替换数字.md b/problems/kamacoder/0054.替换数字.md
index 45a0aa54..ec5fcc63 100644
--- a/problems/kamacoder/0054.替换数字.md
+++ b/problems/kamacoder/0054.替换数字.md
@@ -369,9 +369,43 @@ main();
### Scala:
-
### PHP:
+```php
+= 0) {
+ if (is_numeric($s[$oldLen])) {
+ $s[$newLen--] = 'r';
+ $s[$newLen--] = 'e';
+ $s[$newLen--] = 'b';
+ $s[$newLen--] = 'm';
+ $s[$newLen--] = 'u';
+ $s[$newLen--] = 'n';
+ } else {
+ $s[$newLen--] = $s[$oldLen];
+ }
+ $oldLen--;
+}
+
+echo $s;
+?>
+```
+
+
+
### Rust:
@@ -381,4 +415,3 @@ main();
-
From 3cba050e372565e3d982940c000f33e476e4924c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=BA=B7=E5=AE=87?= <746294093@qq.com>
Date: Thu, 6 Jun 2024 16:22:11 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A00055.=E5=8F=B3=E6=97=8B?=
=?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2.md=20PHP=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
problems/kamacoder/0055.右旋字符串.md | 29 +++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/problems/kamacoder/0055.右旋字符串.md b/problems/kamacoder/0055.右旋字符串.md
index 4dea19a8..1444bcae 100644
--- a/problems/kamacoder/0055.右旋字符串.md
+++ b/problems/kamacoder/0055.右旋字符串.md
@@ -23,7 +23,7 @@
```
2
abcdefg
-```
+```
样例输出:
@@ -336,6 +336,32 @@ var reverseLeftWords = function(s, n) {
### PHP:
+```php
+
+```
+
### Scala:
@@ -349,3 +375,4 @@ var reverseLeftWords = function(s, n) {
+