主页
PHP
PHP quotemeta() 函数
tryphp_func_string_quotemeta2
运行 ❯
×
更改方向
保存代码
更改主题
<?php $str1 = "1 + 1 = 2"; $str2 = "1 * 1 = 1"; $str3 = "Could you borrow me 5$?"; $str4 = "Are you not entertained? (I am..)"; $str5 = "The caret [ ^ ] Looks like a hat!"; echo quotemeta($str1)."
"; echo quotemeta($str2)."
"; echo quotemeta($str3)."
"; echo quotemeta($str4)."
"; echo quotemeta($str5)."
"; ?>