Doc #75960 [Nab]: Wrong function to break the reference with the last element

From: Date: Wed, 14 Feb 2018 16:55:25 +0000
Subject: Doc #75960 [Nab]: Wrong function to break the reference with the last element
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15438@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75960&edit=1 ID: 75960 Updated by: requinix@php.net Reported by: m dot range at mpsn dot de Summary: Wrong function to break the reference with the last element Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: cmb +Assigned To: Block user comment: N Private report: N New Comment: No. reset and unset are two completely different things. Previous Comments: ------------------------------------------------------------------------ [2018-02-14 16:55:10] cmb@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2018-02-14 16:52:00] m dot range at mpsn dot de Description: ------------ --- From manual page: http://www.php.net/control-structures.foreach --- Shouldn't the function to break the reference with the last element be "reset" (and not "unset")? It is at least two times on the page. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75960&edit=1

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