Re: RegEx - Is this right?
| From: | Al Hafoudh | Date: | Sun, 16 Oct 2005 06:21:34 +0000 |
| Subject: | Re: RegEx - Is this right? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224192@lists.php.net to get a copy of this message | ||
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/