addslashes_gpc()

addslashes_gpc( string|array $gpc )
将斜杠添加到字符串或递归地将斜杠添加到数组中的字符串。
描述
如果设置了magic_quotes_gpc,斜线将首先被删除,有关更多详细信息,请参见https://www.php.net/magic_quotes。
参数
$gpc
(string|array) (必需)要斜线的字符串或数据数组。
返回
(string|array) Slashed $gpc.

addslashes_gpc( string|array $gpc )
将斜杠添加到字符串或递归地将斜杠添加到数组中的字符串。
如果设置了magic_quotes_gpc,斜线将首先被删除,有关更多详细信息,请参见https://www.php.net/magic_quotes。
$gpc
(string|array) (必需)要斜线的字符串或数据数组。
(string|array) Slashed $gpc.