title: PHP preg match all limit 3725 characters
body: <p>how to increase search character limit? now in example is 3276 characters but in 3275 its works ok</p>
  
  <pre><code>ini_set("pcre.backtrack_limit", "23001337");
  ini_set("pcre.recursion_limit", "23001337");
  
  $str = "&lt;div&gt;";
  for ($x=1;$x&lt;=327;$x++){
      $str .= "1234567890";
  }
  $str .="123456";
  $str .= "&lt;/div&gt;";
  
  $w1 = "/&lt;div&gt;((.*?|\n)*)&lt;\/div&gt;/";
  preg_match_all($w1, $str, $matches);
  print_r($matches);
  </code></pre>