mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Fix typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45299 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2b255afd4c
commit
8bafb63a3f
1 changed files with 16 additions and 16 deletions
|
@ -292,7 +292,7 @@ $new_string = chunk_split (base64_encode($data));
|
|||
<refnamediv>
|
||||
<refname>count_chars</refname>
|
||||
<refpurpose>
|
||||
Return information abouts characters used in a string
|
||||
Return information about characters used in a string
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -309,7 +309,7 @@ $new_string = chunk_split (base64_encode($data));
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Counts the number of occurances of every byte-value (0..255) in
|
||||
Counts the number of occurrences of every byte-value (0..255) in
|
||||
<parameter>string</parameter> and returns it in various ways.
|
||||
The optional parameter <parameter>Mode</parameter> default to
|
||||
0. Depending on <parameter>mode</parameter>
|
||||
|
@ -317,7 +317,7 @@ $new_string = chunk_split (base64_encode($data));
|
|||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
0 - an array with the byte-value as key and the freqency of
|
||||
0 - an array with the byte-value as key and the frequency of
|
||||
every byte as value.
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
@ -369,7 +369,7 @@ $new_string = chunk_split (base64_encode($data));
|
|||
<para>
|
||||
Generates the cyclic redundancy checksum polynomial of 32-bit lengths of
|
||||
the <parameter>str</parameter>. This is usually used to validate the
|
||||
integrity of data being trasmited.
|
||||
integrity of data being transmitted.
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>md5</function>
|
||||
|
@ -488,7 +488,7 @@ $new_string = chunk_split (base64_encode($data));
|
|||
</simpara>
|
||||
<para>
|
||||
<function>Echo</function> is not actually a function (it is a
|
||||
language construct) so you are not required to use parantheses
|
||||
language construct) so you are not required to use parentheses
|
||||
with it. In fact, if you want to pass more than one parameter
|
||||
to echo, you must not enclose the parameters within parentheses.
|
||||
<example>
|
||||
|
@ -567,7 +567,7 @@ I have <?=$foo?> foo.
|
|||
Returns an array of strings, each of which is a substring of
|
||||
<parameter>string</parameter> formed by splitting it on boundaries formed
|
||||
by the string <parameter>delim</parameter>.
|
||||
If <parameter>limit</parameter> is set, the returned array will contaion
|
||||
If <parameter>limit</parameter> is set, the returned array will contain
|
||||
a maximum of <parameter>limit</parameter> elements with the last element
|
||||
containing the whole rest of <parameter>string</parameter>.
|
||||
</para>
|
||||
|
@ -1018,7 +1018,7 @@ $colon_separated = implode (":", $array);
|
|||
but still expensive).
|
||||
</para>
|
||||
<para>
|
||||
In its simpelest form the function will take only the two
|
||||
In its simplest form the function will take only the two
|
||||
strings as parameter and will calculate just the number of
|
||||
insert, replace and delete operations needed to transform
|
||||
<parameter>str1</parameter> into <parameter>str2</parameter>.
|
||||
|
@ -1152,7 +1152,7 @@ $colon_separated = implode (":", $array);
|
|||
</row>
|
||||
<row>
|
||||
<entry>mon_thousands_sep</entry>
|
||||
<entry>Monetary thousands seperator</entry>
|
||||
<entry>Monetary thousands separator</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>mon_grouping</entry>
|
||||
|
@ -1180,7 +1180,7 @@ $colon_separated = implode (":", $array);
|
|||
</row>
|
||||
<row>
|
||||
<entry>p_sep_by_space</entry>
|
||||
<entry>True if a space seperates currency_symbol from a positive value, false otherwise</entry>
|
||||
<entry>True if a space separates currency_symbol from a positive value, false otherwise</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>n_cs_precedes</entry>
|
||||
|
@ -1188,7 +1188,7 @@ $colon_separated = implode (":", $array);
|
|||
</row>
|
||||
<row>
|
||||
<entry>n_sep_by_space</entry>
|
||||
<entry>True if a space seperates currency_symbol from a negative value, false otherwise</entry>
|
||||
<entry>True if a space separates currency_symbol from a negative value, false otherwise</entry>
|
||||
</row>
|
||||
<row valign="top">
|
||||
<entry>p_sign_posn</entry>
|
||||
|
@ -1711,7 +1711,7 @@ echo "<author id='$id'>
|
|||
</para>
|
||||
<para>
|
||||
Setlocale returns the new current locale, or false if the locale
|
||||
functionality is not implemented in the plattform, the specified
|
||||
functionality is not implemented in the platform, the specified
|
||||
locale does not exist or the category name is invalid.
|
||||
An invalid category name also causes a warning message.
|
||||
</para>
|
||||
|
@ -2393,7 +2393,7 @@ Array
|
|||
)
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
For more infomation see: Martin Pool's <ulink
|
||||
For more information see: Martin Pool's <ulink
|
||||
url="&url.strnatcmp;">Natural Order String Comparison</ulink>
|
||||
page.
|
||||
</para>
|
||||
|
@ -2437,7 +2437,7 @@ Array
|
|||
<para>
|
||||
This function implements a comparison algorithm that orders
|
||||
alphanumeric strings in the way a human being would. The
|
||||
behavior of this function is similar to
|
||||
behaviour of this function is similar to
|
||||
<function>strnatcmp</function>, except that the comparison is
|
||||
not case sensitive. For more infomation see: Martin Pool's
|
||||
<ulink url="&url.strnatcmp;">Natural Order String
|
||||
|
@ -2524,7 +2524,7 @@ Array
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
This functions returns the <parameter>input</parameter> string
|
||||
padded on the left, the right, or both sides to the specifed
|
||||
padded on the left, the right, or both sides to the specified
|
||||
padding length. If the optional argument
|
||||
<parameter>pad_string</parameter> is not supplied, the
|
||||
<parameter>input</parameter> is padded with spaces, otherwise it
|
||||
|
@ -3421,7 +3421,7 @@ $text = ucfirst ($text); // $text is now Mary had a little lamb
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Retuns a string with the first character of each word in
|
||||
Returns a string with the first character of each word in
|
||||
<parameter>str</parameter> capitalized, if that character is
|
||||
alphabetic.
|
||||
<example>
|
||||
|
@ -3488,7 +3488,7 @@ $text = ucwords($text); // $text is now: Mary Had A Little
|
|||
<para>
|
||||
If the <parameter>cut</parameter> is set to 1, the string is
|
||||
always wrapped at the specified width. So if you have a word
|
||||
that is larger than the given width, it is broken appart.
|
||||
that is larger than the given width, it is broken apart.
|
||||
(See second example).
|
||||
<note>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue