From a9ada9d6f9b5504aca3815eed58aa5d499e03eab Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Mon, 18 Feb 2019 05:42:50 +0000 Subject: [PATCH] fix typos in extension documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/math/functions/mt-rand.xml | 2 +- reference/math/functions/mt-srand.xml | 2 +- reference/mbstring/encodings.xml | 2 +- .../mbstring/functions/mb-ereg-replace-callback.xml | 2 +- reference/mbstring/functions/mb-send-mail.xml | 2 +- reference/pcre/pattern.modifiers.xml | 2 +- reference/session/functions/session-create-id.xml | 4 ++-- reference/session/functions/session-start.xml | 2 +- reference/stream/functions/stream-filter-remove.xml | 2 +- reference/stream/functions/stream-socket-pair.xml | 2 +- reference/stream/functions/stream-socket-recvfrom.xml | 2 +- reference/strings/functions/money-format.xml | 2 +- reference/uopz/constants.xml | 10 +++++----- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/reference/math/functions/mt-rand.xml b/reference/math/functions/mt-rand.xml index fdb909988d..7b1084af75 100644 --- a/reference/math/functions/mt-rand.xml +++ b/reference/math/functions/mt-rand.xml @@ -95,7 +95,7 @@ 7.1.0 mt_rand has been updated to use the fixed, correct, version of - the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second paramter. + the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second parameter. diff --git a/reference/math/functions/mt-srand.xml b/reference/math/functions/mt-srand.xml index 6f1a471675..b3894aec3f 100644 --- a/reference/math/functions/mt-srand.xml +++ b/reference/math/functions/mt-srand.xml @@ -99,7 +99,7 @@ 7.1.0 mt_rand has been updated to use the fixed, correct, version of - the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second paramter. + the Mersenne Twister algorithm. To fall back to the old behaviour, use mt_srand with MT_RAND_PHP as the second parameter. diff --git a/reference/mbstring/encodings.xml b/reference/mbstring/encodings.xml index 1e2d4dde5a..f6de0ae1d3 100644 --- a/reference/mbstring/encodings.xml +++ b/reference/mbstring/encodings.xml @@ -219,7 +219,7 @@ Shift_JIS was developed in early 80's, at the time personal Japanese word processors were brought into the market, in order to maintain - compatiblities with the legacy encoding scheme JIS X 0201:1976. + compatibilities with the legacy encoding scheme JIS X 0201:1976. According to the IANA definition the codeset of Shift_JIS is slightly different to IBM932 / CP932. However, the names "SJIS" / "Shift_JIS" are often wrongly used to refer to these codesets. diff --git a/reference/mbstring/functions/mb-ereg-replace-callback.xml b/reference/mbstring/functions/mb-ereg-replace-callback.xml index fd04831ad9..71f818b91c 100644 --- a/reference/mbstring/functions/mb-ereg-replace-callback.xml +++ b/reference/mbstring/functions/mb-ereg-replace-callback.xml @@ -3,7 +3,7 @@ mb_ereg_replace_callback - Perform a regular expresssion seach and replace with multibyte support using a callback + Perform a regular expression search and replace with multibyte support using a callback diff --git a/reference/mbstring/functions/mb-send-mail.xml b/reference/mbstring/functions/mb-send-mail.xml index 777f193a6c..ab55b0e5aa 100644 --- a/reference/mbstring/functions/mb-send-mail.xml +++ b/reference/mbstring/functions/mb-send-mail.xml @@ -107,7 +107,7 @@ This parameter is escaped by escapeshellcmd internally to prevent command execution. escapeshellcmd prevents - command execution, but allows to add addtional parameters. For security reason, + command execution, but allows to add additional parameters. For security reason, this parameter should be validated. diff --git a/reference/pcre/pattern.modifiers.xml b/reference/pcre/pattern.modifiers.xml index b5f465ed3b..eeccf18229 100644 --- a/reference/pcre/pattern.modifiers.xml +++ b/reference/pcre/pattern.modifiers.xml @@ -107,7 +107,7 @@ Use of this modifier is discouraged, as it can easily introduce - security vulnerabilites: + security vulnerabilities: diff --git a/reference/session/functions/session-create-id.xml b/reference/session/functions/session-create-id.xml index 07c664ecf6..9e0287bd20 100644 --- a/reference/session/functions/session-create-id.xml +++ b/reference/session/functions/session-create-id.xml @@ -92,9 +92,9 @@ function my_session_regenerate_id() { // Make sure to accept user defined session ID // NOTE: You must enable use_strict_mode for normal operations. ini_set('session.use_strict_mode', 0); - // Set new custome session ID + // Set new custom session ID session_id($newid); - // Start with custome session ID + // Start with custom session ID session_start(); } diff --git a/reference/session/functions/session-start.xml b/reference/session/functions/session-start.xml index 0222550b40..6a4ed979a1 100644 --- a/reference/session/functions/session-start.xml +++ b/reference/session/functions/session-start.xml @@ -227,7 +227,7 @@ session_start([ To use cookie-based sessions, session_start - must be called before outputing anything to the browser. + must be called before outputting anything to the browser. diff --git a/reference/stream/functions/stream-filter-remove.xml b/reference/stream/functions/stream-filter-remove.xml index 14b8c08994..a3d9ea9902 100644 --- a/reference/stream/functions/stream-filter-remove.xml +++ b/reference/stream/functions/stream-filter-remove.xml @@ -47,7 +47,7 @@ &reftitle.examples; - Dynamicly refiltering a stream + Dynamically refiltering a stream A stream_socket_pair example This example shows the basic usage of - stream_socket_pair in Inter-Process Comunication. + stream_socket_pair in Inter-Process Communication. - Invoked by exit() and die(), recieves no arguments. Return boolean &true; to exit, &false; to continue + Invoked by exit() and die(), receives no arguments. Return boolean &true; to exit, &false; to continue @@ -49,7 +49,7 @@ - Invoked upon composure, recieves the class the name of the class being fetched as the only argument + Invoked upon composure, receives the class the name of the class being fetched as the only argument @@ -60,7 +60,7 @@ - Invoked upon composure, recieves the class the trait is being added to as the first argument, and the name of the trait as the second argument + Invoked upon composure, receives the class the trait is being added to as the first argument, and the name of the trait as the second argument @@ -71,7 +71,7 @@ - Invoked upon composure, recieves the class the interface is being added to as the first argument, and the name of the interface as the second argument + Invoked upon composure, receives the class the interface is being added to as the first argument, and the name of the interface as the second argument @@ -82,7 +82,7 @@ - Invoked by instanceof operator, recieves the object being verified as the first argument, and the name of the class which that object should be as the second argument + Invoked by instanceof operator, receives the object being verified as the first argument, and the name of the class which that object should be as the second argument