mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- corrected XML related typos (<, &, unterminated entity references, ...)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43309 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d588233629
commit
9af2d25b73
3 changed files with 5 additions and 5 deletions
|
@ -641,7 +641,7 @@ function getmicrotime(){
|
|||
|
||||
$time_start = getmicrotime();
|
||||
|
||||
for ($i=0; $i < 1000; $i++){
|
||||
for ($i=0; $i < 1000; $i++){
|
||||
//do nothing, 1000 times
|
||||
}
|
||||
|
||||
|
|
|
@ -797,7 +797,7 @@ fclose($fp);
|
|||
</para>
|
||||
<para>
|
||||
For more information on the GZIP file format, see the document:
|
||||
<ulink url="&url.rfc1952">GZIP file format specification
|
||||
<ulink url="&url.rfc1952;">GZIP file format specification
|
||||
version 4.3</ulink> (RFC 1952).
|
||||
</para>
|
||||
<para>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<programlisting role="php">
|
||||
if ((condition1) || (condition2)) {
|
||||
action1;
|
||||
} elseif ((condition3) && (condition4)) {
|
||||
} elseif ((condition3) && (condition4)) {
|
||||
action2;
|
||||
} else {
|
||||
defaultaction;
|
||||
|
@ -113,10 +113,10 @@ function fooFunction($arg1, $arg2 = '')
|
|||
Always attempt to return a meaningful value from a function if one
|
||||
is appropriate. Here is a slightly longer example:
|
||||
<programlisting role="php">
|
||||
function connect(&$dsn, $persistent = false)
|
||||
function connect(&$dsn, $persistent = false)
|
||||
{
|
||||
if (is_array($dsn)) {
|
||||
$dsninfo = &$dsn;
|
||||
$dsninfo = &$dsn;
|
||||
} else {
|
||||
$dsninfo = DB::parseDSN($dsn);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue