svn: /phpdoc/en/trunk/ language/control-structures/continue.xml language/control-structures/declare.xml
reference/gearman/gearmanclient/setcreatedcallback.xml reference/image/functions/imagewebp.xml reference/phar/PharData/buildFromDirectory.xml
reference/reflection/reflectionfunction/tostring.xml
| From: | Christoph Michael Becker | Date: | Fri, 15 Jan 2016 14:14:37 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language/control-structures/continue.xml language/control-structures/declare.xml reference/gearman/gearmanclient/setcreatedcallback.xml reference/image/functions/imagewebp.xml reference/phar/PharData/buildFromDirectory.xml reference/reflection/reflectionfunction/tostring.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13987@lists.php.net to get a copy of this message | ||
cmb Fri, 15 Jan 2016 14:14:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338501
Log:
typo fixes submitted by anon users
Changed paths:
U phpdoc/en/trunk/language/control-structures/continue.xml
U phpdoc/en/trunk/language/control-structures/declare.xml
U phpdoc/en/trunk/reference/gearman/gearmanclient/setcreatedcallback.xml
U phpdoc/en/trunk/reference/image/functions/imagewebp.xml
U phpdoc/en/trunk/reference/phar/PharData/buildFromDirectory.xml
U phpdoc/en/trunk/reference/reflection/reflectionfunction/tostring.xml
Modified: phpdoc/en/trunk/language/control-structures/continue.xml
===================================================================
--- phpdoc/en/trunk/language/control-structures/continue.xml 2016-01-15 14:00:12 UTC (rev 338500)
+++ phpdoc/en/trunk/language/control-structures/continue.xml 2016-01-15 14:14:37 UTC (rev 338501)
@@ -33,7 +33,7 @@
<![CDATA[
<?php
while (list($key, $value) = each($arr)) {
- if (!($key % 2)) { // skip odd members
+ if (!($key % 2)) { // skip even members
continue;
}
do_something_odd($value);
Modified: phpdoc/en/trunk/language/control-structures/declare.xml
===================================================================
--- phpdoc/en/trunk/language/control-structures/declare.xml 2016-01-15 14:00:12 UTC (rev 338500)
+++ phpdoc/en/trunk/language/control-structures/declare.xml 2016-01-15 14:14:37 UTC (rev 338501)
@@ -23,14 +23,17 @@
The <literal>directive</literal> section allows the
behavior of the <literal>declare</literal> block to
be set.
- Currently only two directives are recognized: the
+ Currently only three directives are recognized: the
<literal>ticks</literal> directive (See below for more
information on the
<link linkend="control-structures.declare.ticks">ticks</link>
- directive) and the <literal>encoding</literal> directive (See below for more
+ directive), the <literal>encoding</literal> directive (See below for more
information on the
<link linkend="control-structures.declare.encoding">encoding</link>
- directive).
+ directive) and the <literal>strict_types</literal> directive (See for more
+ information the
+ <link linkend="functions.arguments.type-declaration.strict">strict</link>
+ section on the Function arguments page)
</para>
<para>
<informaltable>
Modified: phpdoc/en/trunk/reference/gearman/gearmanclient/setcreatedcallback.xml
===================================================================
--- phpdoc/en/trunk/reference/gearman/gearmanclient/setcreatedcallback.xml 2016-01-15 14:00:12 UTC
(rev 338500)
+++ phpdoc/en/trunk/reference/gearman/gearmanclient/setcreatedcallback.xml 2016-01-15 14:14:37 UTC
(rev 338501)
@@ -15,7 +15,7 @@
</methodsynopsis>
<para>
Sets a function to be called when a task is received and queued by the Gearman job server.
- The callback should accept a single argument, a <classname>GearmanClient</classname>
oject.
+ The callback should accept a single argument, a <classname>GearmanTask</classname>
oject.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/image/functions/imagewebp.xml
===================================================================
--- phpdoc/en/trunk/reference/image/functions/imagewebp.xml 2016-01-15 14:00:12 UTC (rev 338500)
+++ phpdoc/en/trunk/reference/image/functions/imagewebp.xml 2016-01-15 14:14:37 UTC (rev 338501)
@@ -3,7 +3,7 @@
<refentry xml:id="function.imagewebp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagewebp</refname>
- <refpurpose>Output an WebP image to browser or file</refpurpose>
+ <refpurpose>Output a WebP image to browser or file</refpurpose>
</refnamediv>
<refsect1 role="description">
Modified: phpdoc/en/trunk/reference/phar/PharData/buildFromDirectory.xml
===================================================================
--- phpdoc/en/trunk/reference/phar/PharData/buildFromDirectory.xml 2016-01-15 14:00:12 UTC (rev
338500)
+++ phpdoc/en/trunk/reference/phar/PharData/buildFromDirectory.xml 2016-01-15 14:14:37 UTC (rev
338501)
@@ -85,7 +85,7 @@
$phar2 = new PharData('project2.zip');
// add all files in the project, only include php files
-$phar->buildFromDirectory(dirname(__FILE__) . '/project', '/\.php$/');
+$phar2->buildFromDirectory(dirname(__FILE__) . '/project', '/\.php$/');
?>
]]>
</programlisting>
Modified: phpdoc/en/trunk/reference/reflection/reflectionfunction/tostring.xml
===================================================================
--- phpdoc/en/trunk/reference/reflection/reflectionfunction/tostring.xml 2016-01-15 14:00:12 UTC
(rev 338500)
+++ phpdoc/en/trunk/reference/reflection/reflectionfunction/tostring.xml 2016-01-15 14:14:37 UTC
(rev 338501)
@@ -51,11 +51,11 @@
&example.outputs.similar;
<screen>
<![CDATA[
-Function [ <user> function person ] {
+Function [ <user> function title ] {
@@ Command line code 1 - 1
- Parameters [2] {
- Parameter #0 [ <required> $prefix ]
+ Parameter #0 [ <required> $title ]
Parameter #1 [ <required> $name ]
}
}