混水摸魚

[ PHP ] – 字串轉數字

字串轉數字
[php]
$str=’0002′;
echo (int)$str;
//顯示結果 2
[/php]

Leave a Comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *