note 110453 added to function.preg-last-error

From: Date: Tue, 23 Oct 2012 17:05:30 +0000
Subject: note 110453 added to function.preg-last-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-191506@lists.php.net to get a copy of this message
Just be aware that in PHP<5.3.7, the backtrace limit might be quite low (100k) and you may find your preg_replace returning a blank string. You can raise the backtrace limit to resolve this: <?php ini_set('pcre.backtrack_limit', 1000000); ?> Source: http://www.kavoir.com/2009/12/php-regular-expression-matching-input-subject-string-length-limit.html ---- Server IP: 69.147.83.199 Probable Submitter: 2.99.119.87 ---- Manual Page -- http://www.php.net/manual/en/function.preg-last-error.php Edit -- https://master.php.net/note/edit/110453 Del: integrated -- https://master.php.net/note/delete/110453/integrated Del: useless -- https://master.php.net/note/delete/110453/useless Del: bad code -- https://master.php.net/note/delete/110453/bad+code Del: spam -- https://master.php.net/note/delete/110453/spam Del: non-english -- https://master.php.net/note/delete/110453/non-english Del: in docs -- https://master.php.net/note/delete/110453/in+docs Del: other reasons-- https://master.php.net/note/delete/110453 Reject -- https://master.php.net/note/reject/110453 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191506) next »