|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-30 18:29 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2015-12-30 18:29 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 05:00:01 2025 UTC |
Description: ------------ preg_replace anainst big string failed and preg_last_error() returns PREG_JIT_STACKLIMIT_ERROR Test script: --------------- <?php $value = '{{--' . str_repeat('_', 1024). '--}}'; $pattern = '/{{--((.|\s)*?)--}}/'; var_dump(preg_replace($pattern, '+', $value)); Expected result: ---------------- + Actual result: -------------- NULL