I have a script that creates an array with approximately 40,000 entries, PHP arrays have no limits other than server memory ...
However, the PHP function implode() simply does not output anything, trying to blow up an array of about 40,000 entries per line. Each array entry has aZ value. Memory errors, no errors!
Can anyone confirm this?
I am not sure you can post examples!
EDIT (2013-06-03):
I can confirm that the PHP memory limit was set to -1, and PHP errors should have been equal to E_ALL. Where there are no errors and there is simply no conclusion. This seems to be a bug in PHP.
I used echo implode("<br>\n", $myLogArr); with an error and did not display anything, I have mananage to get the correct expected result using foreach ($myLogArr as $line) echo $line."<br>\n";
hozza source share