I've got a script that creates an array with around 40,000 entries, PHP arrays have no limit except the memory of the server...
However the PHP function implode()
simply does not output anything, when trying to implode an array of around 40,000 entries into a string. Each array entry has about a sentence worth of a-Z characters. No memory errors, no errors at all!
Can anyone confirm this?
I'm not sure its possible to post examples!
EDIT (2013-06-03):
I can confirm that the PHP memory limit was set to -1 and PHP errors were to to E_ALL. There where no errors and simply no output. This seems to be an bug with PHP of some sort.
I was using echo implode("<br>\n", $myLogArr);
with did not error or output anything, I've mananage to get the correct expected result by using foreach ($myLogArr as $line) echo $line."<br>\n";