站长学院
CMS建站教程 SEO优化攻略
来源:齐鲁建站 栏目:开发教程 阅读: 日期:2023-01-14
PHP学习之变量的八个最常用基本格式
$age=28; //整数 integer $saalry=3456.78; //浮点数 float $userName='Peter Zhu'; //字符串 string $recomment=true; //布尔 boolean $city=['北京','上海','深圳','广州']; //数组 array $person = new stdclass(); //对象 object $conn=mysqli_connect($linkParam); //资源 resouce $active=null;//null值 null