I have a PHP-script that parses logfiles from my server. At the moment the data is written in an array and printed. Later, the data will be saved in an MySQL-Database.
The problem is, that the array with the is never larger than 1893, which is only a small part of the data. The number didn't change after I increased the memory_limit from 128M to 512M. I'm absolutely sure, that all logs are processed.
Is there a limit for arrays?
Or is there a problem with my code. Every log-file is parsed into an array ($result) which is appended to the final array ($allResults).
$allResults = $allResults+$result;