mirror of
https://github.com/php/doc-en.git
synced 2026-03-24 07:42:10 +01:00
Update notes about the handling of missing keys and non-arrays during array destructuring to match the behavior seen on 3v4l.org, which doesn't issue a warning or notice in some cases where the documentation claims it does. Also update list() docs to provide the same information. list(): * missing key: https://3v4l.org/bYBt6 * destructuring an integer: https://3v4l.org/7lNhK * a boolean: https://3v4l.org/p5LDd * a string: https://3v4l.org/KHSAH * null: https://3v4l.org/lk1iu array notation: * missing key: https://3v4l.org/KCiTC * destructuring an integer: https://3v4l.org/louVG * a boolean: https://3v4l.org/SWL5L * a string: https://3v4l.org/aK90L * null: https://3v4l.org/Y8cOY Fixes #3640.