note 126891 added to function.array-sum
| From: | 444 at main dot php dot net | Date: | Tue, 01 Mar 2022 13:26:04 +0000 |
| Subject: | note 126891 added to function.array-sum | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217670@lists.php.net to get a copy of this message | ||
$total = 0;
foreach ($array as $key => $value){
$total += $value;
}
Print "sum $total";
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 188.234.16.96)
----
Manual Page -- https://php.net/manual/en/function.array-sum.php
Edit -- https://main.php.net/note/edit/126891
Del: integrated -- https://main.php.net/note/delete/126891/integrated
Del: useless -- https://main.php.net/note/delete/126891/useless
Del: bad code -- https://main.php.net/note/delete/126891/bad+code
Del: spam -- https://main.php.net/note/delete/126891/spam
Del: non-english -- https://main.php.net/note/delete/126891/non-english
Del: in docs -- https://main.php.net/note/delete/126891/in+docs
Del: other reasons-- https://main.php.net/note/delete/126891
Reject -- https://main.php.net/note/reject/126891
Search -- https://main.php.net/manage/user-notes.php