Details
-
Sub-task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Invalid
-
3.0.7-PL1
-
None
-
None
Description
includes/bbcode.php uses preg_replace with the /e modifier, which evals the result before replacing. This is inefficient and breaks compatibility with HipHop. This patch removes those cases and replaces them with a callback.
Attachments
Issue Links
- is duplicated by
-
PHPBB3-14603 Outdated call to preg_replace with e modifier breaks custom BBCode creation in HHVM and PHP 7+
-
- Closed
-