note 90564 deleted from function.preg-match by danbrown

From: Date: Tue, 14 Sep 2010 18:23:49 +0000
Subject: note 90564 deleted from function.preg-match by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172560@lists.php.net to get a copy of this message
Note Submitter: rabby ---- With regards to the bug report for preg_match which leads to segfault errors in some cases, the solution is pretty simple. Just split the string into smaller ones. E.g. with my xampp test server a length of 5000 is ok, but with 10000 chars it fails. Just see the example which solves an encoding problem in adddition to the preg_match bug: http://mobile-website.mobi/php-utf8-vs-iso-8859-1-59

« previous php.notes (#172560) next »