From aba94933258b1d1ce9fa5935a239804d71a481fa Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 13 Jul 2019 15:05:31 +0000 Subject: [PATCH] Typos git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347736 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration71/incompatible.xml | 2 +- reference/array/functions/array-shift.xml | 2 +- reference/mail/functions/mail.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appendices/migration71/incompatible.xml b/appendices/migration71/incompatible.xml index 1f5470e52d..c8dcbb2311 100644 --- a/appendices/migration71/incompatible.xml +++ b/appendices/migration71/incompatible.xml @@ -160,7 +160,7 @@ Warning: Cannot call func_num_args() dynamically in %s on line %d rand and srand have now been made aliases to mt_rand and mt_srand, respectively. This means that the output for the following functions have - changes: rand, shuffle, + changed: rand, shuffle, str_shuffle, and array_rand. diff --git a/reference/array/functions/array-shift.xml b/reference/array/functions/array-shift.xml index e88bb1f150..0ebe51b5ef 100644 --- a/reference/array/functions/array-shift.xml +++ b/reference/array/functions/array-shift.xml @@ -16,7 +16,7 @@ array off and returns it, shortening the array by one element and moving everything down. All numerical array keys will be modified to start counting from zero - while literal keys won't be touched. + while literal keys won't be affected. &array.resetspointer; diff --git a/reference/mail/functions/mail.xml b/reference/mail/functions/mail.xml index 1fc6afe9b4..f0cb7d29c4 100644 --- a/reference/mail/functions/mail.xml +++ b/reference/mail/functions/mail.xml @@ -203,7 +203,7 @@ $text = str_replace("\n.", "\n..", $text); 5.4.42, 5.5.27 - Header injection protection has been addded for the + Header injection protection has been added for the additional_headers parameter. This means that multiple consecutive newlines are no longer allowed.