mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix typos in extension documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
578f5f3744
commit
a9ada9d6f9
13 changed files with 18 additions and 18 deletions
|
@ -95,7 +95,7 @@
|
|||
<entry>7.1.0</entry>
|
||||
<entry>
|
||||
<function>mt_rand</function> <link linkend="migration71.incompatible.fixes-to-mt_rand-algorithm">has been updated</link> to use the fixed, correct, version of
|
||||
the Mersenne Twister algorithm. To fall back to the old behaviour, use <function>mt_srand</function> with <constant>MT_RAND_PHP</constant> as the second paramter.
|
||||
the Mersenne Twister algorithm. To fall back to the old behaviour, use <function>mt_srand</function> with <constant>MT_RAND_PHP</constant> as the second parameter.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
<entry>7.1.0</entry>
|
||||
<entry>
|
||||
<function>mt_rand</function> <link linkend="migration71.incompatible.fixes-to-mt_rand-algorithm">has been updated</link> to use the fixed, correct, version of
|
||||
the Mersenne Twister algorithm. To fall back to the old behaviour, use <function>mt_srand</function> with <constant>MT_RAND_PHP</constant> as the second paramter.
|
||||
the Mersenne Twister algorithm. To fall back to the old behaviour, use <function>mt_srand</function> with <constant>MT_RAND_PHP</constant> as the second parameter.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
<seg>
|
||||
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.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<refentry xml:id="function.mb-ereg-replace-callback" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>mb_ereg_replace_callback</refname>
|
||||
<refpurpose>Perform a regular expresssion seach and replace with multibyte support using a callback
|
||||
<refpurpose>Perform a regular expression search and replace with multibyte support using a callback
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<para>
|
||||
This parameter is escaped by <function>escapeshellcmd</function> internally
|
||||
to prevent command execution. <function>escapeshellcmd</function> 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.
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<caution>
|
||||
<para>
|
||||
Use of this modifier is <emphasis>discouraged</emphasis>, as it can easily introduce
|
||||
security vulnerabilites:
|
||||
security vulnerabilities:
|
||||
</para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -227,7 +227,7 @@ session_start([
|
|||
<note>
|
||||
<para>
|
||||
To use cookie-based sessions, <function>session_start</function>
|
||||
must be called before outputing anything to the browser.
|
||||
must be called before outputting anything to the browser.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Dynamicly refiltering a stream</title>
|
||||
<title>Dynamically refiltering a stream</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
<title>A <function>stream_socket_pair</function> example</title>
|
||||
<para>
|
||||
This example shows the basic usage of
|
||||
<function>stream_socket_pair</function> in Inter-Process Comunication.
|
||||
<function>stream_socket_pair</function> in Inter-Process Communication.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
|
|
@ -108,7 +108,7 @@ $socket = stream_socket_accept($server);
|
|||
/* Grab a packet (1500 is a typical MTU size) of OOB data */
|
||||
echo "Received Out-Of-Band: '" . stream_socket_recvfrom($socket, 1500, STREAM_OOB) . "'\n";
|
||||
|
||||
/* Take a peek at the normal in-band data, but don't comsume it. */
|
||||
/* Take a peek at the normal in-band data, but don't consume it. */
|
||||
echo "Data: '" . stream_socket_recvfrom($socket, 1500, STREAM_PEEK) . "'\n";
|
||||
|
||||
/* Get the exact same packet again, but remove it from the buffer this time. */
|
||||
|
|
|
@ -287,7 +287,7 @@ echo money_format('%=*(#10.2n', $number) . "\n";
|
|||
// ($********1,234.57)
|
||||
|
||||
// Let's justify to the left, with 14 positions of width, 8 digits of
|
||||
// left precision, 2 of right precision, withouth grouping character
|
||||
// left precision, 2 of right precision, without the grouping character
|
||||
// and using the international format for the de_DE locale.
|
||||
setlocale(LC_MONETARY, 'de_DE');
|
||||
echo money_format('%=*^-14#8.2i', 1234.56) . "\n";
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
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
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +49,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
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
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -60,7 +60,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
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
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -71,7 +71,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
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
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -82,7 +82,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
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
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue