• 实例首页
  • 自学教程
  • IT工具箱
xxxxxxxxxx
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<title>PHP array()  实例 - 自学教程(runoops.com)</title>
6
</head>
7
​
8
<body>
9
​
10
<?php
11
$cars = ["Volvo","BMW","Toyota"];
12
echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
13
?>
14
​
15
</body>
16
​
17
</html>