Doc #79883 [Opn->Nab]: Documentation on foreach neglects to mention the alternate syntax.

From: Date: Wed, 22 Jul 2020 07:28:44 +0000
Subject: Doc #79883 [Opn->Nab]: Documentation on foreach neglects to mention the alternate syntax.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17727@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79883&edit=1 ID: 79883 Updated by: cmb@php.net Reported by: mark at manngo dot net Summary: Documentation on foreach neglects to mention the alternate syntax. -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: There is a dedicated page for the alternative syntax of control structures[1], and in my opinion, this is better than to mention that again on all the other pages. [1] <https://www.php.net/manual/en/control-structures.alternative-syntax.php> Previous Comments: ------------------------------------------------------------------------ [2020-07-22 07:19:33] mark at manngo dot net Description: ------------ --- From manual page: https://php.net/control-structures.foreach --- Apart from a helpful comment, there is no mention of the alternate syntax for foreach. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79883&edit=1

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