Re: array_walk() question
| From: | Tedd Sperling | Date: | Wed, 23 Feb 2022 21:41:06 +0000 |
| Subject: | Re: array_walk() question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327927@lists.php.net to get a copy of this message | ||
On Feb 23, 2022, at 4:09 PM, Aziz Saleh <azizsaleh@gmail.com> wrote:
>
> Lose the echo. array_walk returns true when its a success:
> https://www.php.net/manual/en/function.array-walk.php and when you
> echo true you get 1.
>
Ahhh….
That make perfect sense. And it works as expected. Problem solved.
Many thanks to all who answered.
Cheers,
Tedd
Tedd Sperling
tedd.sperling@gmail.com