From 142e1a0eb7e1ece31b225808f21369cc7c36fb10 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 15 Jan 2016 14:14:37 +0000 Subject: [PATCH] typo fixes submitted by anon users git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338501 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures/continue.xml | 2 +- language/control-structures/declare.xml | 9 ++++++--- reference/gearman/gearmanclient/setcreatedcallback.xml | 2 +- reference/image/functions/imagewebp.xml | 2 +- reference/phar/PharData/buildFromDirectory.xml | 2 +- reference/reflection/reflectionfunction/tostring.xml | 4 ++-- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/language/control-structures/continue.xml b/language/control-structures/continue.xml index 85f8ea33a5..3393956557 100644 --- a/language/control-structures/continue.xml +++ b/language/control-structures/continue.xml @@ -33,7 +33,7 @@ directive section allows the behavior of the declare block to be set. - Currently only two directives are recognized: the + Currently only three directives are recognized: the ticks directive (See below for more information on the ticks - directive) and the encoding directive (See below for more + directive), the encoding directive (See below for more information on the encoding - directive). + directive) and the strict_types directive (See for more + information the + strict + section on the Function arguments page) diff --git a/reference/gearman/gearmanclient/setcreatedcallback.xml b/reference/gearman/gearmanclient/setcreatedcallback.xml index 332755e433..b53383b965 100644 --- a/reference/gearman/gearmanclient/setcreatedcallback.xml +++ b/reference/gearman/gearmanclient/setcreatedcallback.xml @@ -15,7 +15,7 @@ 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 GearmanClient oject. + The callback should accept a single argument, a GearmanTask oject. diff --git a/reference/image/functions/imagewebp.xml b/reference/image/functions/imagewebp.xml index f2577caf62..ff37fe44e2 100644 --- a/reference/image/functions/imagewebp.xml +++ b/reference/image/functions/imagewebp.xml @@ -3,7 +3,7 @@ imagewebp - Output an WebP image to browser or file + Output a WebP image to browser or file diff --git a/reference/phar/PharData/buildFromDirectory.xml b/reference/phar/PharData/buildFromDirectory.xml index ae21cabf10..d929c58bfa 100644 --- a/reference/phar/PharData/buildFromDirectory.xml +++ b/reference/phar/PharData/buildFromDirectory.xml @@ -85,7 +85,7 @@ $phar->buildFromDirectory(dirname(__FILE__) . '/project'); $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$/'); ?> ]]> diff --git a/reference/reflection/reflectionfunction/tostring.xml b/reference/reflection/reflectionfunction/tostring.xml index 879e483996..394d0bb086 100644 --- a/reference/reflection/reflectionfunction/tostring.xml +++ b/reference/reflection/reflectionfunction/tostring.xml @@ -51,11 +51,11 @@ echo new ReflectionFunction('title'); &example.outputs.similar; function person ] { +Function [ function title ] { @@ Command line code 1 - 1 - Parameters [2] { - Parameter #0 [ $prefix ] + Parameter #0 [ $title ] Parameter #1 [ $name ] } }