// 这是 PHP 单行注释 /*
这是
PHP 多行
注释
*/
<?php
$txt1="Learn PHP";
$txt2="w3cschool.cc";
$cars=array("Volvo","BMW","Toyota"); echo $txt1;
echo "<br>";
echo "Study PHP at $txt2";
echo "My car is a {$cars[0]}";
echo "<br>";
echo "{$txt1}";
?>
// 这是 PHP 单行注释 /*
这是
PHP 多行
注释
*/
<?php
$txt1="Learn PHP";
$txt2="w3cschool.cc";
$cars=array("Volvo","BMW","Toyota"); echo $txt1;
echo "<br>";
echo "Study PHP at $txt2";
echo "My car is a {$cars[0]}";
echo "<br>";
echo "{$txt1}";
?>