Doc #75907 [Ver]: list documentation does not reflect changes of PHP 7.1

From: Date: Tue, 03 Jul 2018 14:18:27 +0000
Subject: Doc #75907 [Ver]: list documentation does not reflect changes of PHP 7.1
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15843@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 Updated by: cmb@php.net Reported by: j dot teriete at interiete dot net Summary: list documentation does not reflect changes of PHP 7.1 Status: Verified Type: Documentation Problem Package: Arrays related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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> Previous Comments: ------------------------------------------------------------------------ [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 (#15843) next »