Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/dom/functions/dom-import-simplexml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<type class="union"><type>DOMAttr</type><type>DOMElement</type></type><methodname>dom_import_simplexml</methodname>
<methodparam><type>object</type><parameter>node</parameter></methodparam>
</methodsynopsis>
<para>
<simpara>
This function takes the given attribute or element <parameter>node</parameter> (a
<classname>SimpleXMLElement</classname> instance) and creates a
<classname>DOMAttr</classname> or <classname>DOMElement</classname> node, repectively.
<classname>DOMAttr</classname> or <classname>DOMElement</classname> node, respectively.
The new <classname>DOMNode</classname> refers to the same underlying XML node
as the <classname>SimpleXMLElement</classname>.
</para>
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
Expand Down
2 changes: 1 addition & 1 deletion reference/eio/book.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<preface xml:id="intro.eio">
&reftitle.intro;
<simpara>
This extension provides asyncronous POSIX I/O by means of <link xlink:href="&url.eio.libeio;">libeio</link> C
This extension provides asynchronous POSIX I/O by means of <link xlink:href="&url.eio.libeio;">libeio</link> C
library written by Marc Lehmann.
</simpara>

Expand Down
6 changes: 3 additions & 3 deletions reference/eio/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</term>
<listitem>
<simpara>
Request minimal prioriry
Request minimal priority
</simpara>
</listitem>
</varlistentry>
Expand All @@ -25,7 +25,7 @@
</term>
<listitem>
<simpara>
Request default prioriry
Request default priority
</simpara>
</listitem>
</varlistentry>
Expand All @@ -36,7 +36,7 @@
</term>
<listitem>
<simpara>
Request maximal prioriry
Request maximal priority
</simpara>
</listitem>
</varlistentry>
Expand Down
4 changes: 2 additions & 2 deletions reference/eio/functions/eio-realpath.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
<?php
var_dump(getcwd());

function my_realpath_allback($data, $result) {
function my_realpath_callback($data, $result) {
var_dump($result);
}

eio_realpath("../", EIO_PRI_DEFAULT, "my_realpath_allback");
eio_realpath("../", EIO_PRI_DEFAULT, "my_realpath_callback");
eio_event_loop();
?>
]]>
Expand Down
2 changes: 1 addition & 1 deletion reference/enchant/functions/enchant-broker-free-dict.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<entry>8.0.0</entry>
<entry>
<parameter>dictionary</parameter> expects a <classname>EnchantDictionary</classname> now;
previoulsy, a &resource; was expected.
previously, a &resource; was expected.
</entry>
</row>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<entry>8.0.0</entry>
<entry>
On success, this function returns an <classname>EnchantDictionary</classname> instance now;
previoulsy, a &resource; was retured.
previously, a &resource; was returned.
</entry>
</row>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/ev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@
</term>
<listitem>
<simpara>
Try all backends(even currupted ones). It's not recommended to use it
Try all backends(even corrupted ones). It's not recommended to use it
explicitly. Bitwise operators should be applied here(e.g.
<constant>Ev::BACKEND_ALL</constant>
&amp; ~
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/ev/feedsignal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<simpara>
Signal number. See
<literal>signal(7)</literal>
man page for detals. You can use constants exported by
man page for details. You can use constants exported by
<literal>pcntl</literal>
extension.
</simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/ev/feedsignalevent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<simpara>
Signal number. See
<literal>signal(7)</literal>
man page for detals. See also constants exported by
man page for details. See also constants exported by
<literal>pcntl</literal>
extension.
</simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/evio.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
in non-blocking mode, then separately re-test whether a file descriptor is
really ready. Some people additionally use
<constant>SIGALRM</constant>
and an interval timer, just to be sure thry won't block infinitely.
and an interval timer, just to be sure they won't block infinitely.
</simpara>
<simpara>
Always consider using non-blocking mode.
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/evloop/periodic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<refsect1 role="parameters">
&reftitle.parameters;
<simpara>
All parameters have the same maening as for
All parameters have the same meaning as for
<methodname>EvPeriodic::__construct</methodname>
</simpara>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/evloop/prepare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<refsect1 role="parameters">
&reftitle.parameters;
<simpara>
All parameters have the same maening as for
All parameters have the same meaning as for
<methodname>EvPrepare</methodname>
</simpara>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/evtimer/createstopped.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Monotor changes of /var/log/messages. Avoid missing updates by means of one second delay</title>
<title>Monitor changes of /var/log/messages. Avoid missing updates by means of one second delay</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/examples.xml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Ev::run();
</programlisting>
</example>
<example>
<title>Monotor changes of /var/log/messages. Avoid missing updates by means of one second delay</title>
<title>Monitor changes of /var/log/messages. Avoid missing updates by means of one second delay</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down
6 changes: 3 additions & 3 deletions reference/event/eventbase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@
dup(), or its variants. Doing so will produce strange and
hard-to-diagnose bugs.
</para>
<para>
This flag can also be activated by settnig the
<simpara>
This flag can also be activated by setting the
<literal>EVENT_EPOLL_USE_CHANGELIST</literal>
environment variable.
</para>
</simpara>
<para>
This flag has no effect if one winds up using a backend other than
<literal>epoll</literal>.
Expand Down
6 changes: 3 additions & 3 deletions reference/event/eventbuffer/read.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<parameter>max_bytes</parameter>
</term>
<listitem>
<para>
Maxmimum number of bytes to read from the buffer.
</para>
<simpara>
Maximum number of bytes to read from the buffer.
</simpara>
</listitem>
</varlistentry>
</variablelist>
Expand Down
6 changes: 3 additions & 3 deletions reference/event/eventbuffer/readfrom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
<parameter>howmuch</parameter>
</term>
<listitem>
<para>
Maxmimum number of bytes to read.
</para>
<simpara>
Maximum number of bytes to read.
</simpara>
</listitem>
</varlistentry>
</variablelist>
Expand Down
26 changes: 13 additions & 13 deletions reference/event/eventbuffer/substr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<refentry xml:id="eventbuffer.substr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>EventBuffer::substr</refname>
<refpurpose>Substracts a portion of the buffer data</refpurpose>
<refpurpose>Subtracts a portion of the buffer data</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
Expand All @@ -20,13 +20,13 @@
<parameter>length</parameter>
</methodparam>
</methodsynopsis>
<para>
Substracts up to
<simpara>
Subtracts up to
<parameter>length</parameter>
bytes of the buffer data beginning at
<parameter>start</parameter>
position.
</para>
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
Expand All @@ -36,30 +36,30 @@
<parameter>start</parameter>
</term>
<listitem>
<para>
The start position of data to be substracted.
</para>
<simpara>
The start position of data to be subtracted.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<parameter>length</parameter>
</term>
<listitem>
<para>
Maximum number of bytes to substract.
</para>
<simpara>
Maximum number of bytes to subtract.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the data substracted as a
<simpara>
Returns the data subtracted as a
<type>string</type>
on success, or &false; on failure.
</para>
</simpara>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
Expand Down
10 changes: 5 additions & 5 deletions reference/event/eventbufferevent/connect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
If socket is not assigned to the buffer event, this function allocates a
new socket and makes it non-blocking internally.
</para>
<para>
To resolve DNS names(asyncronously), use
<simpara>
To resolve DNS names(asynchronously), use
<methodname>EventBufferEvent::connectHost</methodname>
method.
</para>
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
Expand Down Expand Up @@ -81,7 +81,7 @@ unix:path
* 2. Request /index.cphp via HTTP/1.0
* using the output buffer.
*
* 3. Asyncronously read the response and print it to stdout.
* 3. Asynchronously read the response and print it to stdout.
*/

/* Read callback */
Expand Down Expand Up @@ -131,7 +131,7 @@ if (!$output->add(
exit("Failed adding request to output buffer\n");
}

/* Connect to the host syncronously.
/* Connect to the host synchronously.
* We know the IP, and don't need to resolve DNS. */
if (!$bev->connect("127.0.0.1:80")) {
exit("Can't connect to host\n");
Expand Down
14 changes: 7 additions & 7 deletions reference/event/eventbufferevent/connecthost.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<refentry xml:id="eventbufferevent.connecthost" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>EventBufferEvent::connectHost</refname>
<refpurpose>Connects to a hostname with optionally asyncronous DNS resolving</refpurpose>
<refpurpose>Connects to a hostname with optionally asynchronous DNS resolving</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
Expand Down Expand Up @@ -41,13 +41,13 @@
<methodname>EventBufferEvent::connect</methodname>
would.
</para>
<para>
<simpara>
<parameter>dns_base</parameter>
is optional. May be &null;, or an object created with
<methodname>EventDnsBase::__construct</methodname>.
For asyncronous hostname resolving pass a valid event dns base resource.
For asynchronous hostname resolving pass a valid event dns base resource.
Otherwise the hostname resolving will block.
</para>
</simpara>
<note>
<para>
<classname>EventDnsBase</classname>
Expand Down Expand Up @@ -79,11 +79,11 @@
<parameter>dns_base</parameter>
</term>
<listitem>
<para>
<simpara>
Object of
<classname>EventDnsBase</classname>
in case if DNS is to be resolved asyncronously. Otherwise &null;.
</para>
in case if DNS is to be resolved asynchronously. Otherwise &null;.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
Expand Down
6 changes: 3 additions & 3 deletions reference/event/eventbufferevent/setwatermark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
<emphasis>watermarks</emphasis>,
or both, of a single buffer event.
</para>
<para>
<simpara>
A buffer event watermark is an edge, a value specifying number of bytes to
be read or written before callback is invoked. By default every read/write
event triggers a callback invokation. See
event triggers a callback invocation. See
<link
xlink:href="http://www.wangafu.net/~nickm/libevent-book/Ref6_bufferevent.html#_callbacks_and_watermarks">Fast
portable non-blocking network programming with Libevent: Callbacks and watermarks</link>
</para>
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
Expand Down
6 changes: 3 additions & 3 deletions reference/event/eventdnsbase/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
<parameter>initialize</parameter>
</term>
<listitem>
<para>
<simpara>
If <parameter>initialize</parameter> is &true;,
it attempts to use the underlying operating system defaults to configure
the DNS base senibly.
the DNS base sensibly.
If it is &false;, the DNS base is left unconfigured, with no nameservers or options set.
In the latter case the DNS base should be configured manually, e.g. with
<methodname>EventDnsBase::parseResolvConf</methodname>.
</para>
</simpara>
<para>
If <parameter>initialize</parameter> is an integer, it must be one of the following flags:
<informaltable>
Expand Down
8 changes: 4 additions & 4 deletions reference/event/eventlistener/getsocketname.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<refentry xml:id="eventlistener.getsocketname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>EventListener::getSocketName</refname>
<refpurpose>Retreives the current address to which the
<refpurpose>Retrieves the current address to which the
listener&apos;s socket is bound</refpurpose>
</refnamediv>
<refsect1 role="description">
Expand All @@ -22,9 +22,9 @@
<parameter role="reference">port</parameter>
</methodparam>
</methodsynopsis>
<para>
Retreives the current address to which the listener&apos;s socket is bound.
</para>
<simpara>
Retrieves the current address to which the listener&apos;s socket is bound.
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
Expand Down
Loading