獲取您 自己的 PHP 伺服器
string(1) "5"
string(4) "5.34"
string(5) "hello"
string(1) "1"
string(0) ""
 

注意,把布林值轉換成字串時,會得到值 "1"。 把 NULL 轉換成字串時,會轉換成空字串 ""。