addslashes_gpc() 由 清白之年发表于 2022-08-23 addslashes_gpc( string|array $gpc ) 将斜杠添加到字符串或递归地将斜杠添加到数组中的字符串。 目录 Toggle 描述参数返回 描述 如果设置了magic_quotes_gpc,斜线将首先被删除,有关更多详细信息,请参见https://www.php.net/magic_quotes。 参数 $gpc (string|array) (必需)要斜线的字符串或数据数组。 返回 (string|array) Slashed $gpc. 赞赏