Doc #75907 [PATCH]: Symmetric array destructuring not properly documented

From: Date: Mon, 08 Nov 2021 15:43:19 +0000
Subject: Doc #75907 [PATCH]: Symmetric array destructuring not properly documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-19313@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75907&edit=1 ID: 75907 Patch added by: cmb@php.net Reported by: j dot teriete at interiete dot net Summary: Symmetric array destructuring not properly documented Status: Verified Type: Documentation Problem Package: Arrays related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Array destructuring On GitHub: https://github.com/php/doc-en/pull/796 Patch: https://github.com/php/doc-en/pull/796.patch Previous Comments: ------------------------------------------------------------------------ [2018-07-03 14:18:25] cmb@php.net The 7.1 list() enhancements are documented now[1], but the “Symmetric array destructuring”[2] is still undocumented. Since the latter is somewhat related, I'm leaving this ticket open to track that. [1] <http://svn.php.net/viewvc?view=revision&revision=345209> [2] <http://de2.php.net/manual/en/migration71.new-features.php#migration71.new-features.symmetric-array-destructuring> ------------------------------------------------------------------------ [2018-02-02 14:22:31] cmb@php.net Indeed, so far this info is only available in the migration guide: <http://de2.php.net/manual/en/migration71.new-features.php#migration71.new-features.support-for-keys-in-list> ------------------------------------------------------------------------ [2018-02-02 13:19:34] j dot teriete at interiete dot net Description: ------------ Since PHP 7.1 list() supports destructuring of arrays with non-integer or non-sequential keys. The documentation (english and german) is out of date, showing only the support of numerical arrays. --- From manual page: http://www.php.net/function.list --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75907&edit=1

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