php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39905 preg_replace_callback() bug
Submitted: 2006-12-20 15:21 UTC Modified: 2006-12-20 15:47 UTC
From: muhtarov at oviont dot ru Assigned:
Status: Not a bug Package: PCRE related
PHP Version: 5.2.0 OS: FreeBSD 6.1-RELEASE-p10
Private report: No CVE-ID: None
 [2006-12-20 15:21 UTC] muhtarov at oviont dot ru
Description:
------------
preg_replace_callback() returns empty content on big data in input


Reproduce code:
---------------
http://new.balans2.ru/preg_replace_callback_bug.zip (61Kb)

Expected result:
----------------
non empty content! :)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-20 15:40 UTC] tony2001@php.net
Increase pcre.backtrack_limit value in php.ini.
See http://php.net/pcre for more information.
 [2006-12-20 15:47 UTC] muhtarov at oviont dot ru
???????.
????, ?????, ?????? ??????? ?????? ????? ???????????????
?? ?????? ???-??.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 19 16:00:02 2025 UTC