yes, it is equal, but i'd rather use file() function
Gustav Wiberg wrote:
> Hi there!
>
> I want to get conents of a file and split into a array...
>
> $s = file_get_contents($fileName);
> $splitS = preg_split("/\n/",$s);
>
> Is this equal to using $splitS = file($fileName) ?
>
> /G
> http://www.varupiraten.se/
>