From 4645201618163dc998d2e77f8619112aea241e8e Mon Sep 17 00:00:00 2001 From: jdkfx Date: Mon, 11 Nov 2024 21:10:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?strcspn=E3=81=AE=E5=A4=89=E6=9B=B4=E5=B1=A5?= =?UTF-8?q?=E6=AD=B4=E3=81=A8=E4=BE=8B=E3=82=92=E8=BF=BD=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/strings/functions/strcspn.xml | 30 +++++++++++++++---------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/reference/strings/functions/strcspn.xml b/reference/strings/functions/strcspn.xml index 0d220f25e18..aba37388264 100644 --- a/reference/strings/functions/strcspn.xml +++ b/reference/strings/functions/strcspn.xml @@ -1,7 +1,7 @@ - - + + strcspn @@ -123,6 +123,15 @@ + + 8.4.0 + + + PHP 8.4.0 以前では、 characters が空の文字列の場合、 + string 内の最初の null バイトで探索が誤って停止してしまうことがありました。 + + + 8.0.0 @@ -141,29 +150,26 @@ ]]> &example.outputs; From 5080d9bb52b3590b3a084491fc0595f6b6d9a408 Mon Sep 17 00:00:00 2001 From: KentarouTakeda Date: Tue, 12 Nov 2024 14:56:48 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A1=A8=E7=8F=BE=E3=81=AE=E6=94=B9?= =?UTF-8?q?=E5=96=84:=20=E4=BB=A5=E5=89=8D=20=E2=86=92=20=E3=82=88?= =?UTF-8?q?=E3=82=8A=E5=89=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Haruki Tazoe <40142697+jdkfx@users.noreply.github.com> --- reference/strings/functions/strcspn.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/strings/functions/strcspn.xml b/reference/strings/functions/strcspn.xml index aba37388264..d97968326ad 100644 --- a/reference/strings/functions/strcspn.xml +++ b/reference/strings/functions/strcspn.xml @@ -127,7 +127,7 @@ 8.4.0 - PHP 8.4.0 以前では、 characters が空の文字列の場合、 + PHP 8.4.0 より前のバージョンでは、 characters が空の文字列の場合、 string 内の最初の null バイトで探索が誤って停止してしまうことがありました。