note 130144 added to function.array-all
| From: | Anonymous | Date: | Fri, 14 Mar 2025 14:30:13 +0000 |
| Subject: | note 130144 added to function.array-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221974@lists.php.net to get a copy of this message | ||
if (! function_exists('array_all')) {
function array_all(array $array, callable $callable) {
foreach ($array as $key => $value) {
if (! $callable($value, $key))
return false;
}
return true;
}
}
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2a01:e0a:4a0:ddf0:5cd7:2443:856b:4957)
----
Manual Page -- https://php.net/manual/en/function.array-all.php
Edit -- https://main.php.net/note/edit/130144
Del: integrated -- https://main.php.net/note/delete/130144/integrated
Del: useless -- https://main.php.net/note/delete/130144/useless
Del: bad code -- https://main.php.net/note/delete/130144/bad+code
Del: spam -- https://main.php.net/note/delete/130144/spam
Del: non-english -- https://main.php.net/note/delete/130144/non-english
Del: in docs -- https://main.php.net/note/delete/130144/in+docs
Del: other reasons-- https://main.php.net/note/delete/130144
Reject -- https://main.php.net/note/reject/130144
Search -- https://main.php.net/manage/user-notes.php