forked from xoopscube/legacy
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core,legacy] with out preg
e
modifier
`e` (PREG_REPLACE_EVAL) modifier has been DEPRECATED as of PHP 5.5.0. preg 系関数の "e" 修飾子は PHP 5.5.0 から非奨励となるため、preg_replace で "e" 修飾子を使っている部分を preg_replace_callback に変更しました。 TextFilter の (Pre|Post)?XCodeConvertTable の replacements に callable 型を 指定することが可能になっています。 また、ついでに htmlspecialchars の第3引数に定数 _CHARSET を追加しました。
- Loading branch information
Showing
2 changed files
with
109 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters