|
From: Arno H. <aho...@in...> - 2000-11-16 16:01:55
|
Jeff,
> $pagehash["content"] = preg_split('/[ \t\r]*\n/', chop($content));
> The problem seems to be that preg_split returns an empty array when the
> regex does not match anything in the string.
I cannot reproduce this on my machine. My PHP version (4.00) returns an
array with one entry for the first line.
Which PHP version are you using?
/Arno
|