sdfouhdso888 发表于 2017-3-29 10:07:01

php 的命名是什么意思?

<?php
$myStr = 789696;                     // An integer.
$myVar = 2;                            // Another integer.
$myStr = "This is my favorite band: "; // Strings are more fun.
$myStr = $myStr . "U" . $myVar;      // Doing this is OK, too.
echo "$myVar\n";
?>
为什么 是 <?php// 这个开头

            ?>   // 这个结尾
为什么命名的时候 要   $ 这个开头命名变量和参数呢?

echo是什么用处?

是初学者 没有经验 请多多指教 同时能接受点相关的资料和案例吗
页: [1]
查看完整版本: php 的命名是什么意思?