I have a 10mb file I'm loading into a var and then trying to do str_replace on it, something simple like this
There are lots more str_replace, but at the moment none of them are working.
If I cut the file down to 1mb it works ok
Is there a limit to the string size in php? Is there a better way to do this?