Doc #80196 [NEW]: Hard to find documentation on argument unpacking

From: Date: Wed, 07 Oct 2020 10:18:08 +0000
Subject: Doc #80196 [NEW]: Hard to find documentation on argument unpacking
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17967@lists.php.net to get a copy of this message
From:             yohan at ylab dot nl
Operating system: Irrelevant
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:Hard to find documentation on argument unpacking

Description:
------------
I find it hard to find reference documentation on argument unpacking,
aka the spread operator, aka the splat operator, aka the ... operator,
aka the ... token.

It's mentioned as new feature on several places: 

https://www.php.net/manual/en/migration56.new-features.php
https://www.php.net/manual/en/migration74.new-features.php
https://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list.new

I would appreciate a complete reference page on argument unpacking, with
examples and version info (comparable to
https://www.php.net/manual/en/language.operators.errorcontrol.php).


-- 
Edit bug report at https://bugs.php.net/bug.php?id=80196&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80196&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80196&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80196&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80196&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80196&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80196&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80196&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80196&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80196&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80196&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80196&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80196&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80196&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80196&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80196&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80196&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80196&r=mysqlcfg


Thread (3 messages)

« previous php.doc.bugs (#17967) next »