数据类型
变量可以储存不同的数据类型
数据类型支持:string、integer、float、Boolean、array、object、null、resource
PHP string
<?php
$string1 = "hello world"; //双引号
$string2 = ‘hello world’; //单引号
?>
注:你可以用句号( . )把两个
例子:echo $s1 . $s2
PHP integer
转载请注明原文地址: https://ju.6miu.com/read-1597.html