I call preg_match_all repeatedly in a loop and the script works fine. If however I pass preg_match_all a really big text string to search in, the script just dies after the nth time I call preg_match_all. The larger the input string the fewer times I can call preg_match_all before the script just dies. No error is produced.
I have this line at the start of script:
If you have no idea what causes this, then please tell me how I might go about debugging this.
I have this line at the start of script:
Code:
error_reporting(E_ALL);
If you have no idea what causes this, then please tell me how I might go about debugging this.