Skip to content
Open
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
2 changes: 1 addition & 1 deletion language/functions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<para>
A function is defined using the <literal>function</literal> keyword,
a name, a list of parameters (which might be empty) seperated by commas
a name, a list of parameters (which might be empty) separated by commas
(<literal>,</literal>) enclosed in parentheses, followed by the body of
the function enclosed in curly braces, such as the following:
</para>
Expand Down
2 changes: 1 addition & 1 deletion language/oop5/paamayim-nekudotayim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link linkend="language.oop5.static">static</link> property,
or <link linkend="language.oop5.static">static</link> method
of a class or one of its parents.
Moreover, static properties or methods can be overriden via
Moreover, static properties or methods can be overridden via
<link linkend="language.oop5.late-static-bindings">late static binding</link>.
</para>

Expand Down
4 changes: 2 additions & 2 deletions reference/com/functions/variant-cmp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<parameter>flags</parameter> can be one or more of the following values
OR'd together, and affects string comparisons:
<table>
<title>Variant Comparision Flags</title>
<title>Variant Comparison Flags</title>
<tgroup cols="2">
<thead>
<row>
Expand Down Expand Up @@ -105,7 +105,7 @@
<para>
Returns one of the following:
<table>
<title>Variant Comparision Results</title>
<title>Variant Comparison Results</title>
<tgroup cols="2">
<thead>
<row>
Expand Down
2 changes: 1 addition & 1 deletion reference/cubrid/cubridmysql/cubrid-fetch-field.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</varlistentry>
<varlistentry>
<term><parameter>unique_key</parameter></term>
<listitem><simpara>1 if the column is an unique key</simpara></listitem>
<listitem><simpara>1 if the column is a unique key</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter>multiple_key</parameter></term>
Expand Down
2 changes: 1 addition & 1 deletion reference/datetime/datetimeimmutable/createfromformat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ Mon, 10 Aug 2020 01:00:00 +0000
<para>
In order to detect overflows in dates, you can use
<methodname>DateTimeImmutable::getLastErrors</methodname>, which will
include a warning if an overflow occured.
include a warning if an overflow occurred.
</para>
<example>
<title>Detecting overflown dates</title>
Expand Down
2 changes: 1 addition & 1 deletion reference/dio/functions/dio-open.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<refname>dio_open</refname>
<refpurpose>
Opens a file (creating it if necessary) at a lower level than the
C library input/ouput stream functions allow
C library input/output stream functions allow
</refpurpose>
</refnamediv>
<refsect1 role="description">
Expand Down
2 changes: 1 addition & 1 deletion reference/ev/evtimer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
it&apos;s the timeout value currently configured.
</simpara>
<simpara>
That is, after instanciating an
That is, after instantiating an
<classname>EvTimer</classname>
with an
<parameter>after</parameter>
Expand Down
4 changes: 2 additions & 2 deletions reference/fann/functions/fann-create-train-from-callback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<term><parameter>num_output</parameter></term>
<listitem>
<para>
The number of ouputs per training data
The number of outputs per training data
</para>
</listitem>
</varlistentry>
Expand All @@ -57,7 +57,7 @@
<simplelist>
<member><literal>num</literal> - The number of the training data set</member>
<member><literal>num_input</literal> - The number of inputs per training data</member>
<member><literal>num_output</literal> - The number of ouputs per training data</member>
<member><literal>num_output</literal> - The number of outputs per training data</member>
</simplelist>
</para>
<para>
Expand Down
2 changes: 1 addition & 1 deletion reference/fann/functions/fann-create-train.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<term><parameter>num_output</parameter></term>
<listitem>
<para>
The number of ouputs per training data
The number of outputs per training data
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion reference/filter/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@
<link linkend="ini.default-charset">default_charset</link> INI setting.
If a sequence of bytes is detected that makes up an invalid character
in the current character set then the entire string is rejected
resulting in a empty string being returned.
resulting in an empty string being returned.
</simpara>
</warning>
</listitem>
Expand Down
4 changes: 2 additions & 2 deletions reference/gnupg/functions/gnupg-init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $res = gnupg_init();
</programlisting>
</example>
<example>
<title>Procedural <function>gnupg_init</function> example with overriden file name and home dir</title>
<title>Procedural <function>gnupg_init</function> example with overridden file name and home dir</title>
<programlisting role="php">
<![CDATA[
<?php
Expand All @@ -121,7 +121,7 @@ $gpg = new gnupg();
</programlisting>
</example>
<example>
<title>OO gnupg initializer example with overriden file name and home dir</title>
<title>OO gnupg initializer example with overridden file name and home dir</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down
2 changes: 1 addition & 1 deletion reference/ibm_db2/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<para>
This option controls the transaction isolation mode used.
By default, this option is <literal>0</literal>, so commitment control isn't used.
This option can be overriden when connecting if the array key
This option can be overridden when connecting if the array key
<parameter>i5_commit</parameter> is set in the connection options array
passed to <function>db2_connect</function> or
<function>db2_pconnect</function>.
Expand Down
2 changes: 1 addition & 1 deletion reference/intl/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@
<listitem>
<simpara>
There are too many aliases in the path to the requested resource.
It is very possible that a circular alias definition has occured.
It is very possible that a circular alias definition has occurred.
</simpara>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion reference/mysqli/mysqli/error-list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
</methodsynopsis>
<para>
Returns a array of errors for the most recent MySQLi function call
Returns an array of errors for the most recent MySQLi function call
that can succeed or fail.
</para>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/openssl/functions/openssl-pkcs12-read.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</methodsynopsis>
<para>
<function>openssl_pkcs12_read</function> parses the <acronym>PKCS</acronym>#12 certificate store supplied by
<parameter>pkcs12</parameter> into a array named
<parameter>pkcs12</parameter> into an array named
<parameter>certificates</parameter>.
</para>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/outcontrol/examples.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ output_add_rewrite_var('test', 'value');
</example>
</para>
<para>
Since PHP 7.1.0, output rewrite functions have it's own INI settings, <link linkend="ini.url-rewriter.tags">url_rewriter.tags</link> and <link linkend="ini.url-rewriter.hosts">url_rewriter.hosts</link>.
Since PHP 7.1.0, output rewrite functions have its own INI settings, <link linkend="ini.url-rewriter.tags">url_rewriter.tags</link> and <link linkend="ini.url-rewriter.hosts">url_rewriter.hosts</link>.
</para>
</section>

Expand Down
2 changes: 1 addition & 1 deletion reference/outcontrol/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<caution>
<simpara>
Adding the same tag more than once to <literal>url_rewriter.tags</literal>
will only use the first occurence during the URL rewriting process.
will only use the first occurrence during the URL rewriting process.
</simpara>
</caution>
<note>
Expand Down
4 changes: 2 additions & 2 deletions reference/pdo_sqlsrv/reference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<example>
<title>PDO_SQLSRV DSN examples</title>
<para>
The following example shows how to connecto to a specified MS SQL Server database:
The following example shows how to connect to a specified MS SQL Server database:
<programlisting>
<![CDATA[
$c = new PDO("sqlsrv:Server=localhost;Database=testdb", "UserName", "Password");
Expand All @@ -184,7 +184,7 @@ $c = new PDO("sqlsrv:Server=localhost,1521;Database=testdb", "UserName", "Passwo
</programlisting>
</para>
<para>
The following example shows how to connecto to a SQL Azure database with
The following example shows how to connect to a SQL Azure database with
server ID 12345abcde. Note that when you connect to SQL Azure with PDO,
your username will be UserName@12345abcde (UserName@ServerId).
<programlisting>
Expand Down
4 changes: 2 additions & 2 deletions reference/pgsql/functions/pg-escape-identifier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<refnamediv>
<refname>pg_escape_identifier</refname>
<refpurpose>
Escape a identifier for insertion into a text field
Escape an identifier for insertion into a text field
</refpurpose>
</refnamediv>

Expand All @@ -17,7 +17,7 @@
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_escape_identifier</function> escapes a identifier
<function>pg_escape_identifier</function> escapes an identifier
(e.g. table, field names) for querying the database. It returns an
escaped identifier string for PostgreSQL
server. <function>pg_escape_identifier</function> adds double
Expand Down
2 changes: 1 addition & 1 deletion reference/pthreads/threaded/isrunning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
A boolean indication of state
<note>
<simpara>
A object is considered running while executing the run method
An object is considered running while executing the run method
</simpara>
</note>
</para>
Expand Down
2 changes: 1 addition & 1 deletion reference/random/random.engine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</para>

<para>
PHP provides several <classname>Random\Engine</classname>s out of the box to accomodate
PHP provides several <classname>Random\Engine</classname>s out of the box to accommodate
different use-cases. The <classname>Random\Engine\Secure</classname> engine that is
backed by a <acronym>CSPRNG</acronym> is the recommended safe default choice, unless
the application requires either reproducible sequences or very high performance.
Expand Down
2 changes: 1 addition & 1 deletion reference/random/random/engine/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<para>
The randomness is represented by a binary string containing random bytes. This representation
allows to unambiguously interpret the random bits generated by the algorithm, for example to
accomodate different output sizes used by different algorithms.
accommodate different output sizes used by different algorithms.
</para>
<para>
Algorithms that natively operate on integer values should return the integer in little-endian
Expand Down
4 changes: 2 additions & 2 deletions reference/snmp/snmp/get.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<simpara>
If <parameter>objectId</parameter> is a string, then <methodname>SNMP::get</methodname>
will return <acronym>SNMP</acronym> object as string. If
<parameter>objectId</parameter> is a array, all requested <acronym>SNMP</acronym>
<parameter>objectId</parameter> is an array, all requested <acronym>SNMP</acronym>
objects will be returned as associative array of the <acronym>SNMP</acronym> object ids and their
values.
</simpara>
Expand All @@ -42,7 +42,7 @@
<term><parameter>preserveKeys</parameter></term>
<listitem>
<simpara>
When <parameter>objectId</parameter> is a array and
When <parameter>objectId</parameter> is an array and
<parameter>preserveKeys</parameter> set to &true; keys in results
will be taken exactly as in <parameter>objectId</parameter>,
otherwise <varname>SNMP::oid_output_format</varname> property is used to determinate
Expand Down
2 changes: 1 addition & 1 deletion reference/snmp/snmp/getnext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<simpara>
If <parameter>objectId</parameter> is a string, then <methodname>SNMP::getnext</methodname>
will return <acronym>SNMP</acronym> object as string. If
<parameter>objectId</parameter> is a array, all requested <acronym>SNMP</acronym>
<parameter>objectId</parameter> is an array, all requested <acronym>SNMP</acronym>
objects will be returned as associative array of the <acronym>SNMP</acronym> object ids and their
values.
</simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sockets/functions/socket-addrinfo-lookup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<row>
<entry>8.0.0</entry>
<entry>
On success, this function returns a array of <classname>AddressInfo</classname> instances now;
On success, this function returns an array of <classname>AddressInfo</classname> instances now;
previously, an array of <type>resource</type>s was returned.
</entry>
</row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
This only works with the type of keys intended for use with <function>crypto_box</function>
(which uses Elliptic Curve Diffie-Hellman over the Montgomery curve, Curve25519; abbreviated as X25519),
not <function>crypto_sign</function> (which uses Edwards Digital Signature Algorithm over the Edwards
Curve with the corresponding paramaters; abbreviated Ed25519).
Curve with the corresponding parameters; abbreviated Ed25519).
</simpara>

</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/solr/solrdocument.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<varlistentry xml:id="solrdocument.constants.sort-field-boost-value">
<term><constant>SolrDocument::SORT_FIELD_BOOST_VALUE</constant></term>
<listitem>
<para>Sorts the fields by thier boost values.</para>
<para>Sorts the fields by their boost values.</para>
</listitem>
</varlistentry>

Expand Down
2 changes: 1 addition & 1 deletion reference/swoole/swoole/atomic/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<methodparam choice="opt"><type>int</type><parameter>value</parameter></methodparam>
</constructorsynopsis>
<para>
Swoole atomic object is a integer variable allows any processor to atomically test and modify.
Swoole atomic object is an integer variable allows any processor to atomically test and modify.
It is implemented based on CPU atomic instructions. The Swoole atomic variables have to
defined before swoole_server->start.
</para>
Expand Down
2 changes: 1 addition & 1 deletion reference/swoole/swoole/client/connect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<term><parameter>timeout</parameter></term>
<listitem>
<para>
The timeout(second) of connect/send/recv, the dafault value is 0.1s
The timeout(second) of connect/send/recv, the default value is 0.1s
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion reference/uodbc/functions/odbc-field-num.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the field number as a integer, or &false; on error.
Returns the field number as an integer, or &false; on error.
Field numbering starts at 1.
</para>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/uodbc/functions/odbc-field-scale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the field scale as a integer, or &false; on error.
Returns the field scale as an integer, or &false; on error.
</para>
</refsect1>

Expand Down
2 changes: 1 addition & 1 deletion reference/wincache/functions/wincache-ucache-add.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<listitem>
<para>
Value of a variable to store. <parameter>Value</parameter> supports all data types except resources, such as file handles.
This paramter is ignored if first argument is an array. A general guidance is to pass &null;
This parameter is ignored if first argument is an array. A general guidance is to pass &null;
as <parameter>value</parameter> while using array as <parameter>key</parameter>. If <parameter>value</parameter> is an
object, or an array containing objects, then the objects will be serialized. See
<link linkend="object.sleep">__sleep()</link> for details on serializing objects.
Expand Down
2 changes: 1 addition & 1 deletion reference/wincache/functions/wincache-ucache-set.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<listitem>
<para>
Value of a variable to store. <parameter>Value</parameter> supports all data types except resources, such as file handles.
This paramter is ignored if first argument is an array. A general guidance is to pass &null;
This parameter is ignored if first argument is an array. A general guidance is to pass &null;
as <parameter>value</parameter> while using array as <parameter>key</parameter>. If <parameter>value</parameter> is an
object, or an array containing objects, then the objects will be serialized. See
<link linkend="object.sleep">__sleep()</link> for details on serializing objects.
Expand Down
2 changes: 1 addition & 1 deletion reference/yaf/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Yaf_Route_Rewrite => \Yaf\Route\Rewrite
Yaf_Request_Http => \Yaf\Request\Http
]]>
</screen>
There is a exception, that is some classes like
There is an exception, that is some classes like
<classname>Yaf_Controller_Abstract</classname>.
The last component is a keyword of PHP, could not be used as a class
name, so for such classes:
Expand Down
2 changes: 1 addition & 1 deletion reference/yaf/yaf-route-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</para>
<para>
please *NOTE* that it is unnecessary to instance a <classname>Yaf_Route_Static</classname>, also
unecesary to add it into <classname>Yaf_Router</classname>'s routes stack,
unnecessary to add it into <classname>Yaf_Router</classname>'s routes stack,
since there is always be one in <classname>Yaf_Router</classname>'s
routes stack, and always be called at the last time.
</para>
Expand Down
2 changes: 1 addition & 1 deletion reference/yaf/yaf_config_ini/get.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<refentry xml:id="yaf-config-ini.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Yaf_Config_Ini::__get</refname>
<refpurpose>Retrieve a element</refpurpose>
<refpurpose>Retrieve an element</refpurpose>
</refnamediv>

<refsect1 role="description">
Expand Down
Loading