Yes, its always a good practice to not have any warnings present.
As you could be performing operations on the wrong data.
When arrays are used as string, like if you attempt to print for instance:
echo $myrray;
You get the word "array" instead. So any string operations would likely be performed on that word instead of whatever string you actually want to perform them on.
You'll get the warning, but the operation will proceed.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Behind the Web, Tips and Tricks for Web Development.