addslashes - 语法
string addslashes ( string $str )
它返回在预定义字符前面带有斜杠的字符串
| Sr.No | 参数 & Description |
|---|---|
| 1 |
str 要转义的字符串 |
addslashes - 返回值
它返回转义字符串
addslashes - 示例
<?php $str="Is your name sai Right?"; echo addslashes($str); ?>
string addslashes ( string $str )
它返回在预定义字符前面带有斜杠的字符串
| Sr.No | 参数 & Description |
|---|---|
| 1 |
str 要转义的字符串 |
它返回转义字符串
<?php $str="Is your name sai Right?"; echo addslashes($str); ?>