Re: array_walk() question

[email protected] (Tedd Sperling)
Newsgroups php.general
Message-ID <[email protected]>
On Feb 23, 2022, at 4:09 PM, Aziz Saleh <[email protected]> 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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.