mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Some typos in the english part.
Made some links in the english and german part. Made 4 new chapters available for the german manual. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@22030 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b3d68f6c2a
commit
5ea48ac3da
1 changed files with 45 additions and 43 deletions
|
@ -12,7 +12,7 @@
|
|||
<refentry id="function.connection-aborted">
|
||||
<refnamediv>
|
||||
<refname>connection_aborted</refname>
|
||||
<refpurpose>Returns true if client disconnected.</refpurpose>
|
||||
<refpurpose>Returns true if client disconnected</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<refentry id="function.connection-status">
|
||||
<refnamediv>
|
||||
<refname>connection_status</refname>
|
||||
<refpurpose>Returns connection status bitfield.</refpurpose>
|
||||
<refpurpose>Returns connection status bitfield</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<refentry id="function.connection-timeout">
|
||||
<refnamediv>
|
||||
<refname>connection_timeout</refname>
|
||||
<refpurpose>Return true if script timed out.</refpurpose>
|
||||
<refpurpose>Return true if script timed out</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -135,7 +135,7 @@ echo CONSTANT; // outputs "Hello world."
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<function>define</function> returns TRUE on success and FALSE if
|
||||
<function>Define</function> returns TRUE on success and FALSE if
|
||||
an error occurs.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -149,7 +149,7 @@ echo CONSTANT; // outputs "Hello world."
|
|||
<refnamediv>
|
||||
<refname>defined</refname>
|
||||
<refpurpose>
|
||||
Checks whether a given named constant exists.
|
||||
Checks whether a given named constant exists
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -159,7 +159,7 @@ echo CONSTANT; // outputs "Hello world."
|
|||
<paramdef>string <parameter>name</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Returns TRUE if the named constant given by
|
||||
Returns true if the named constant given by
|
||||
<parameter>name</parameter> has been defined, false otherwise.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -173,7 +173,7 @@ echo CONSTANT; // outputs "Hello world."
|
|||
<refnamediv>
|
||||
<refname>die</refname>
|
||||
<refpurpose>
|
||||
Output a message and terminate the current script.
|
||||
Output a message and terminate the current script
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -184,7 +184,7 @@ echo CONSTANT; // outputs "Hello world."
|
|||
</funcsynopsis>
|
||||
<simpara>
|
||||
This language construct outputs a message and terminates parsing
|
||||
of the script. It does not return.
|
||||
of the script. It does not return anything.
|
||||
</simpara>
|
||||
<para>
|
||||
<example>
|
||||
|
@ -207,7 +207,7 @@ $file = fopen ($filename, 'r')
|
|||
<refentry id="function.eval">
|
||||
<refnamediv>
|
||||
<refname>eval</refname>
|
||||
<refpurpose>Evaluate a string as PHP code.</refpurpose>
|
||||
<refpurpose>Evaluate a string as PHP code</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -264,7 +264,7 @@ This is a cup with my coffee in it.
|
|||
<refentry id="function.exit">
|
||||
<refnamediv>
|
||||
<refname>exit</refname>
|
||||
<refpurpose>Terminate current script.</refpurpose>
|
||||
<refpurpose>Terminate current script</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -285,7 +285,7 @@ This is a cup with my coffee in it.
|
|||
<refentry id="function.func-get-arg">
|
||||
<refnamediv>
|
||||
<refname>func_get_arg</refname>
|
||||
<refpurpose>Return an item from the argument list.</refpurpose>
|
||||
<refpurpose>Return an item from the argument list</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -297,7 +297,7 @@ This is a cup with my coffee in it.
|
|||
Returns the argument which is at the
|
||||
<parameter>arg_num</parameter>'th offset into a user-defined
|
||||
function's argument list. Function arguments are counted starting
|
||||
from zero. <function>func_get_arg</function> will generate a
|
||||
from zero. <function>Func_get_arg</function> will generate a
|
||||
warning if called from outside of a function definition.
|
||||
</simpara>
|
||||
<simpara>
|
||||
|
@ -323,7 +323,7 @@ foo (1, 2, 3);
|
|||
</informalexample>
|
||||
</para>
|
||||
<simpara>
|
||||
<function>func_get_arg</function> may be used in conjunction with
|
||||
<function>Func_get_arg</function> may be used in conjunction with
|
||||
<function>func_num_args</function> and
|
||||
<function>func_get_args</function> to allow user-defined
|
||||
functions to accept variable-length argument lists.
|
||||
|
@ -340,7 +340,7 @@ foo (1, 2, 3);
|
|||
<refnamediv>
|
||||
<refname>func_get_args</refname>
|
||||
<refpurpose>
|
||||
Returns an array comprising a function's argument list.
|
||||
Returns an array comprising a function's argument list
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -352,7 +352,7 @@ foo (1, 2, 3);
|
|||
<simpara>
|
||||
Returns an array in which each element is the corresponding
|
||||
member of the current user-defined function's argument
|
||||
list. <function>func_get_args</function> will generate a warning
|
||||
list. <function>Func_get_args</function> will generate a warning
|
||||
if called from outside of a function definition.
|
||||
</simpara>
|
||||
<para>
|
||||
|
@ -377,7 +377,7 @@ foo (1, 2, 3);
|
|||
</informalexample>
|
||||
</para>
|
||||
<simpara>
|
||||
<function>func_get_args</function> may be used in conjunction
|
||||
<function>Func_get_args</function> may be used in conjunction
|
||||
with <function>func_num_args</function> and
|
||||
<function>func_get_arg</function> to allow user-defined functions
|
||||
to accept variable-length argument lists.
|
||||
|
@ -394,7 +394,7 @@ foo (1, 2, 3);
|
|||
<refnamediv>
|
||||
<refname>func_num_args</refname>
|
||||
<refpurpose>
|
||||
Returns the number of arguments passed to the function.
|
||||
Returns the number of arguments passed to the function
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -405,7 +405,7 @@ foo (1, 2, 3);
|
|||
</funcsynopsis>
|
||||
<simpara>
|
||||
Returns the number of arguments passed into the current
|
||||
user-defined function. <function>func_num_args</function> will
|
||||
user-defined function. <function>Func_num_args</function> will
|
||||
generate a warning if called from outside of a function
|
||||
definition.
|
||||
</simpara>
|
||||
|
@ -424,7 +424,7 @@ foo (1, 2, 3); // Prints 'Number of arguments: 3'
|
|||
</informalexample>
|
||||
</para>
|
||||
<simpara>
|
||||
<function>func_num_args</function> may be used in conjunction
|
||||
<function>Func_num_args</function> may be used in conjunction
|
||||
with <function>func_get_arg</function> and
|
||||
<function>func_get_args</function> to allow user-defined
|
||||
functions to accept variable-length argument lists.
|
||||
|
@ -441,7 +441,7 @@ foo (1, 2, 3); // Prints 'Number of arguments: 3'
|
|||
<refnamediv>
|
||||
<refname>function_exists</refname>
|
||||
<refpurpose>
|
||||
Return true if the given function has been defined.
|
||||
Return true if the given function has been defined
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -462,7 +462,7 @@ foo (1, 2, 3); // Prints 'Number of arguments: 3'
|
|||
<refnamediv>
|
||||
<refname>get_browser</refname>
|
||||
<refpurpose>
|
||||
Tells what the user's browser is capable of.
|
||||
Tells what the user's browser is capable of
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -550,7 +550,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
For more information (including locations from which you may
|
||||
obtain a <filename>browscap.ini</filename> file), check the PHP
|
||||
FAQ at <ulink
|
||||
url="&url.php.faq;">http://www.php.net/FAQ.html</ulink>.
|
||||
url="&url.php.faq;">&url.php.faq;</ulink>.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
|
@ -564,7 +564,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
<refnamediv>
|
||||
<refname>ignore_user_abort</refname>
|
||||
<refpurpose>
|
||||
Set whether a client disconnect should abort script execution.
|
||||
Set whether a client disconnect should abort script execution
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -579,9 +579,10 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
This function sets whether a client disconnect should cause a
|
||||
script to be aborted. It will return the previous setting and
|
||||
can be called without an argument to not change the current
|
||||
setting and only return the current setting. See the Connection
|
||||
Handling section in the Features chapter for a complete
|
||||
description of connection handling in PHP.
|
||||
setting and only return the current setting. See the <link
|
||||
linkend="features.connection-handling">Connection Handling</link>
|
||||
section in the <link linkend="features">Features</link> chapter
|
||||
for a complete description of connection handling in PHP.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -612,7 +613,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
<refentry id="function.leak">
|
||||
<refnamediv>
|
||||
<refname>leak</refname>
|
||||
<refpurpose>Leak memory.</refpurpose>
|
||||
<refpurpose>Leak memory</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -624,8 +625,9 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
<function>Leak</function> leaks the specified amount of memory.
|
||||
</simpara>
|
||||
<simpara>
|
||||
This is useful when debugging the memory manager, which automatically
|
||||
cleans up "leaked" memory when each request is completed.
|
||||
This is useful when debugging the memory manager, which
|
||||
automatically cleans up "leaked" memory when each request is
|
||||
completed.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -767,7 +769,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
<example>
|
||||
<title>pack format string</title>
|
||||
<title><function>Pack</function> format string</title>
|
||||
<programlisting role="php">
|
||||
$binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
||||
</programlisting>
|
||||
|
@ -796,7 +798,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
<refnamediv>
|
||||
<refname>register_shutdown_function</refname>
|
||||
<refpurpose>
|
||||
Register a function for execution on shutdown.
|
||||
Register a function for execution on shutdown
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -825,7 +827,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
<refnamediv>
|
||||
<refname>serialize</refname>
|
||||
<refpurpose>
|
||||
Generates a storable representation of a value.
|
||||
Generates a storable representation of a value
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -835,7 +837,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
<paramdef>mixed <parameter>value</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<simpara>
|
||||
<function>serialize</function> returns a string containing a
|
||||
<function>Serialize</function> returns a string containing a
|
||||
byte-stream representation of <parameter>value</parameter> that
|
||||
can be stored anywhere.
|
||||
</simpara>
|
||||
|
@ -845,7 +847,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
</simpara>
|
||||
<simpara>
|
||||
To make the serialized string into a PHP value again, use
|
||||
<function>unserialize</function>. <function>serialize</function>
|
||||
<function>unserialize</function>. <function>Serialize</function>
|
||||
handles the types <type>integer</type>, <type>double</type>,
|
||||
<type>string</type>, <type>array</type> (multidimensional) and
|
||||
<type>object</type> (object properties will be serialized, but
|
||||
|
@ -879,7 +881,7 @@ if (!odbc_execute ($stmt, &$sqldata)) {
|
|||
<refentry id="function.sleep">
|
||||
<refnamediv>
|
||||
<refname>sleep</refname>
|
||||
<refpurpose>Delay execution.</refpurpose>
|
||||
<refpurpose>Delay execution</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -900,7 +902,7 @@ if (!odbc_execute ($stmt, &$sqldata)) {
|
|||
<refentry id="function.uniqid">
|
||||
<refnamediv>
|
||||
<refname>uniqid</refname>
|
||||
<refpurpose>Generate a unique id.</refpurpose>
|
||||
<refpurpose>Generate a unique id</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -912,11 +914,11 @@ if (!odbc_execute ($stmt, &$sqldata)) {
|
|||
</paramdef>
|
||||
</funcsynopsis>
|
||||
<simpara>
|
||||
<function>uniqid</function> returns a prefixed unique identifier
|
||||
<function>Uniqid</function> returns a prefixed unique identifier
|
||||
based on the current time in microseconds. The prefix can be
|
||||
useful for instance if you generate identifiers simultaneously on
|
||||
several hosts that might happen to generate the identifier at the
|
||||
same microsecond. <parameter>prefix</parameter> can be up to 114
|
||||
same microsecond. <parameter>Prefix</parameter> can be up to 114
|
||||
characters long.
|
||||
</simpara>
|
||||
<simpara>
|
||||
|
@ -957,7 +959,7 @@ $better_token = md5 (uniqid (rand())); // better, difficult to guess
|
|||
<refentry id="function.unpack">
|
||||
<refnamediv>
|
||||
<refname>unpack</refname>
|
||||
<refpurpose>Unpack data from binary string.</refpurpose>
|
||||
<refpurpose>Unpack data from binary string</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -1004,7 +1006,7 @@ $array = unpack ("c2chars/nint", $binarydata);
|
|||
<refnamediv>
|
||||
<refname>unserialize</refname>
|
||||
<refpurpose>
|
||||
Creates a PHP value from a stored representation.
|
||||
Creates a PHP value from a stored representation
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -1053,7 +1055,7 @@ if (!odbc_execute ($stmt, &$sqldata) || !odbc_fetch_into ($stmt, &$tmp)) {
|
|||
<refentry id="function.usleep">
|
||||
<refnamediv>
|
||||
<refname>usleep</refname>
|
||||
<refpurpose>Delay execution in microseconds.</refpurpose>
|
||||
<refpurpose>Delay execution in microseconds</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -1070,13 +1072,13 @@ if (!odbc_execute ($stmt, &$sqldata) || !odbc_fetch_into ($stmt, &$tmp)) {
|
|||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
This function does not work on Windows systems
|
||||
This function does not work on Windows systems.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
</reference>
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
Loading…
Reference in a new issue