Re: Problems with implode
| From: | Tom Worster | Date: | Tue, 24 Mar 2009 13:27:04 +0000 |
| Subject: | Re: Problems with implode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290643@lists.php.net to get a copy of this message | ||
On 3/24/09 9:15 AM, "Per Jessen" <per@computer.org> wrote:
> TG wrote:
>
>> I don't think that would be a problem, the size of the array. I've
>> used implode at least once or twice on fairly large arrays. More
>> likely is something weird with your data.
>
> Yeah, like the odd backspace or carriage return perhaps.
if using utf-8, validate the data with mb_check_encoding() or
preg_match('/^.{1}/us', $s)
for example, could be that the strings in the big array are mixing
encodings.