I\'m writing a php script where I call
$lines = file(\'base_list.txt\');
to break a file up into an array. The file has over 100,000 lines in
every time ive run out of memory in PHP i've received an error message stating that fact. So, I'd also say that if you're running out of memory then the script wouldn't get to the print_r()
try enabling auto_detect_line_endings
in php.ini or by using
ini_set('auto_detect_line_endings', 1)
. There may be some line endings that windows doesn't understand & this ini option could help. more info about this ini option can be found here