From 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 2 Nov 2020 11:17:26 +0000 Subject: [PATCH] Proper variadics instead of pseudo variadics We markup variadic parameters with the `rep=repeat` standard DocBook attribute of ``, and use proper variable names instead of using the old pseudo variable name `...`. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/decon.xml | 3 +- language/oop5/magic.xml | 2 +- language/predefined/closure/call.xml | 4 +-- language/types.xml | 4 --- language/types/pseudo-types.xml | 10 ------- .../array/functions/array-diff-assoc.xml | 24 +++++---------- reference/array/functions/array-diff-key.xml | 26 +++++------------ .../array/functions/array-diff-uassoc.xml | 24 +++++---------- reference/array/functions/array-diff-ukey.xml | 26 +++++------------ reference/array/functions/array-diff.xml | 27 ++++++----------- .../array/functions/array-intersect-assoc.xml | 23 +++++---------- .../array/functions/array-intersect-key.xml | 25 +++++----------- .../functions/array-intersect-uassoc.xml | 23 +++++---------- .../array/functions/array-intersect-ukey.xml | 25 +++++----------- reference/array/functions/array-intersect.xml | 23 +++++---------- reference/array/functions/array-map.xml | 20 ++++++------- .../array/functions/array-merge-recursive.xml | 4 +-- reference/array/functions/array-merge.xml | 4 +-- reference/array/functions/array-multisort.xml | 4 +-- reference/array/functions/array-push.xml | 4 +-- .../functions/array-replace-recursive.xml | 12 ++++---- reference/array/functions/array-replace.xml | 10 +++---- .../array/functions/array-udiff-assoc.xml | 13 ++++----- .../array/functions/array-udiff-uassoc.xml | 13 ++++----- reference/array/functions/array-udiff.xml | 13 ++++----- .../functions/array-uintersect-assoc.xml | 13 ++++----- .../functions/array-uintersect-uassoc.xml | 7 ++--- .../array/functions/array-uintersect.xml | 13 ++++----- reference/array/functions/array-unshift.xml | 4 +-- reference/array/functions/array.xml | 4 +-- reference/array/functions/compact.xml | 7 +++-- reference/array/functions/list.xml | 16 ++++++++-- reference/dba/functions/dba-open.xml | 4 +-- reference/dba/functions/dba-popen.xml | 29 ++++++++++++++++++- reference/ds/ds/deque/contains.xml | 2 +- reference/ds/ds/deque/insert.xml | 2 +- reference/ds/ds/deque/push.xml | 2 +- reference/ds/ds/map/construct.xml | 2 +- reference/ds/ds/queue/push.xml | 2 +- reference/ds/ds/sequence/contains.xml | 2 +- reference/ds/ds/sequence/insert.xml | 2 +- reference/ds/ds/sequence/push.xml | 2 +- reference/ds/ds/set/add.xml | 2 +- reference/ds/ds/set/construct.xml | 2 +- reference/ds/ds/set/contains.xml | 2 +- reference/ds/ds/set/remove.xml | 2 +- reference/ds/ds/stack/push.xml | 2 +- reference/ds/ds/vector/contains.xml | 2 +- reference/ds/ds/vector/insert.xml | 2 +- reference/ds/ds/vector/push.xml | 2 +- .../fann/functions/fann-create-shortcut.xml | 4 +-- .../fann/functions/fann-create-sparse.xml | 4 +-- .../fann/functions/fann-create-standard.xml | 4 +-- reference/filesystem/functions/fscanf.xml | 4 +-- .../funchand/functions/call-user-func.xml | 4 +-- .../functions/forward-static-call.xml | 4 +-- .../functions/register-shutdown-function.xml | 4 +-- .../functions/register-tick-function.xml | 4 +-- reference/ibase/functions/ibase-execute.xml | 4 +-- .../functions/ibase-set-event-handler.xml | 12 ++++---- .../ibase/functions/ibase-wait-event.xml | 12 ++++---- reference/lua/luaclosure/invoke.xml | 4 +-- .../luasandbox/luasandbox/callfunction.xml | 4 +-- .../luasandbox/luasandboxfunction/call.xml | 4 +-- reference/math/functions/max.xml | 14 ++++----- reference/math/functions/min.xml | 14 ++++----- .../functions/mb-convert-variables.xml | 14 ++++----- reference/misc/functions/pack.xml | 4 +-- reference/mongo/mongocollection/aggregate.xml | 13 ++------- .../mysql_xdevapi/table/insert.xml | 4 +-- .../mysql_xdevapi/table/select.xml | 4 +-- .../mysql_xdevapi/tableselect/orderby.xml | 4 +-- .../mysql_xdevapi/tableupdate/orderby.xml | 4 +-- .../pdo_sqlite/PDO/sqliteCreateAggregate.xml | 8 ++--- .../pdo_sqlite/PDO/sqliteCreateFunction.xml | 8 ++--- reference/pht/thread/addClassTask.xml | 4 +-- reference/pht/thread/addFileTask.xml | 4 +-- reference/pht/thread/addFunctionTask.xml | 4 +-- reference/pthreads/threaded/synchronized.xml | 4 +-- .../reflectionclass/newinstance.xml | 6 ++-- .../reflection/reflectionfunction/invoke.xml | 4 +-- .../reflection/reflectionmethod/invoke.xml | 4 +-- .../session/functions/session-register.xml | 4 +-- reference/soap/soapserver/setclass.xml | 4 +-- reference/spl/splfileobject/fscanf.xml | 4 +-- reference/sqlite3/sqlite3/createaggregate.xml | 8 ++--- reference/sqlite3/sqlite3/createfunction.xml | 8 ++--- reference/strings/functions/echo.xml | 8 ++--- reference/strings/functions/fprintf.xml | 4 +-- reference/strings/functions/printf.xml | 4 +-- reference/strings/functions/setlocale.xml | 4 +-- reference/strings/functions/sprintf.xml | 4 +-- reference/strings/functions/sscanf.xml | 4 +-- .../swoole/coroutine/call-user-func.xml | 4 +-- reference/taint/functions/taint.xml | 4 +-- reference/taint/functions/untaint.xml | 4 +-- reference/var/functions/debug-zval-dump.xml | 12 ++++++-- reference/var/functions/isset.xml | 6 ++-- reference/var/functions/unset.xml | 6 ++-- reference/var/functions/var-dump.xml | 12 ++++++-- reference/wddx/functions/wddx-add-vars.xml | 4 +-- .../wddx/functions/wddx-serialize-vars.xml | 4 +-- reference/yaf/yaf_action_abstract/execute.xml | 15 +++++++--- reference/yaf/yaf_application/execute.xml | 4 +-- 104 files changed, 378 insertions(+), 441 deletions(-) diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml index 268da3a4b1..37467813da 100644 --- a/language/oop5/decon.xml +++ b/language/oop5/decon.xml @@ -7,8 +7,7 @@ Constructor void__construct - mixedargs"" - ... + mixedvalues"" PHP 5 allows developers to declare constructor methods for classes. diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index db7538efeb..0cf8d55313 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -299,7 +299,7 @@ Hello <link linkend="object.invoke">__invoke()</link> mixed__invoke - ... + values The __invoke() method is called when a script tries to diff --git a/language/predefined/closure/call.xml b/language/predefined/closure/call.xml index 09bf2f6f26..99b0755421 100644 --- a/language/predefined/closure/call.xml +++ b/language/predefined/closure/call.xml @@ -11,7 +11,7 @@ public mixedClosure::call objectnewthis - mixed... + mixedvalues Temporarily binds the closure to newthis, and calls @@ -31,7 +31,7 @@ - ... + values Zero or more parameters, which will be given as parameters to the diff --git a/language/types.xml b/language/types.xml index bdf577ea8f..fc871e1b87 100644 --- a/language/types.xml +++ b/language/types.xml @@ -116,10 +116,6 @@ - - And the pseudo-variable $.... - - Some references to the type "double" may remain in the manual. Consider double the same as float; the two names exist only for historic reasons. diff --git a/language/types/pseudo-types.xml b/language/types/pseudo-types.xml index 56ef0eb26c..8108e4d4bd 100644 --- a/language/types/pseudo-types.xml +++ b/language/types/pseudo-types.xml @@ -32,16 +32,6 @@ - - ... - - - $... in function prototypes means - and so on. This variable name is used when a function can - take an endless number of arguments. - - -