2012-03-10 49 views

回答

0

如果轉換爲int,然後爲一個字符串,它打印的0 ..

$x=false; 
print (string)(int)$x; 

打印0。當然,你可以的,省略字符串類型轉換,因爲它是由打印反正做。