案例:php案例     状态:不可编辑再运行    进入竖版
 运行结果 
x
 
1
2
3
4
<!DOCTYPE html>
5
<html>
6
<body>
7
8
<?php
9
$str1 = "1 + 1 = 2";
10
$str2 = "1 * 1 = 1";
11
$str3 = "Could you borrow me 5$?";
12
$str4 = "Are you not e";
13
$str5 = "The caret [ ^ ] Looks like a hat!";
14
15
echo quotemeta($str1)."<br>";
16
echo quotemeta($str2)."<br>";
17
echo quotemeta($str3)."<br>";
18
echo quotemeta($str4)."<br>";
19
echo quotemeta($str5)."<br>";
20
?>
21
  
22
</body>
23
</html>
24
25
26