ThinkPHP/Library/Vendor/Smarty/pluginsshared.escape_special_chars.php

Smarty shared plugin

Functions

smarty_function_escape_special_chars()

smarty_function_escape_special_chars(string  $string) : string

escape_special_chars common function

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

Parameters

string $string

text that should by escaped

Returns

string