Skip to content
Advertisement

Tag: memory-management

PHP exceeding memory allocation in nested loops

I am parsing a string. If it meets a certain criteria, I want to append the new character to another substring until it stops meeting that criteria, and / or the end of the string. The code is basically as follows: The error that follows is: PHP message: PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to

Advertisement