mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix other typos
Detected by codespell Patch provided by tandre@php.net. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349710 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9e4c917c09
commit
ba38a95b6a
9 changed files with 10 additions and 10 deletions
reference
ftp/functions
intl/intlcalendar
mysqli/mysqli
sockets/functions
zip/ziparchive
|
@ -84,7 +84,7 @@ $login_result = ftp_login($conn_id, 'anonymous', 'user@example.com');
|
|||
|
||||
if (ftp_alloc($conn_id, filesize($file), $result)) {
|
||||
echo "Space successfully allocated on server. Sending $file.\n";
|
||||
ftp_put($conn_id, '/incomming/myfile', $file, FTP_BINARY);
|
||||
ftp_put($conn_id, '/incoming/myfile', $file, FTP_BINARY);
|
||||
} else {
|
||||
echo "Unable to allocate space on server. Server said: $result\n";
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
// Initate the download
|
||||
// Initiate the download
|
||||
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY);
|
||||
while ($ret == FTP_MOREDATA) {
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ $conn_id = ftp_connect($ftp_server);
|
|||
|
||||
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
|
||||
|
||||
// Initate the download
|
||||
// Initiate the download
|
||||
$ret = ftp_nb_fget($conn_id, $fp, $file, FTP_BINARY);
|
||||
while ($ret == FTP_MOREDATA) {
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ $conn_id = ftp_connect($ftp_server);
|
|||
|
||||
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
|
||||
|
||||
// Initate the upload
|
||||
// Initiate the upload
|
||||
$ret = ftp_nb_fput($conn_id, $file, $fp, FTP_BINARY);
|
||||
while ($ret == FTP_MOREDATA) {
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
// Initate the download
|
||||
// Initiate the download
|
||||
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY);
|
||||
while ($ret == FTP_MOREDATA) {
|
||||
|
||||
|
@ -135,7 +135,7 @@ if ($ret != FTP_FINISHED) {
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
// Initate
|
||||
// Initiate
|
||||
$ret = ftp_nb_get($my_connection, "test", "README", FTP_BINARY,
|
||||
filesize("test"));
|
||||
// OR: $ret = ftp_nb_get($my_connection, "test", "README",
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The signed amount to add to the current field. If the amount is positive,
|
||||
the instant will be moved forward; if it is negative, the instant wil be
|
||||
the instant will be moved forward; if it is negative, the instant will be
|
||||
moved into the past. The unit is implicit to the field type. For instance,
|
||||
hours for <constant>IntlCalendar::FIELD_HOUR_OF_DAY</constant>.
|
||||
</para>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<term><parameter>error</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
List of connections on which an error occured, for example, query
|
||||
List of connections on which an error occurred, for example, query
|
||||
failure or lost connection.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
|
@ -321,7 +321,7 @@
|
|||
<entry><constant>MCAST_LEAVE_SOURCE_GROUP</constant></entry>
|
||||
<entry>
|
||||
Stop receiving packets destined to a specific multicast group whose
|
||||
soure address matches a specific value. (added in PHP 5.4)
|
||||
source address matches a specific value. (added in PHP 5.4)
|
||||
</entry>
|
||||
<entry>
|
||||
<type>array</type> with the same format as
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<refentry xml:id="ziparchive.count" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>ZipArchive::count</refname>
|
||||
<refpurpose>Counts the number of files in the achive</refpurpose>
|
||||
<refpurpose>Counts the number of files in the archive</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
|
Loading…
Reference in a new issue