intval和(int)之间有什么特别的区别吗?
例:
$product_id = intval($_GET['pid']);
$product_id = (int) $_GET['pid'];
上面两行代码之间有什么特别的区别吗?
弑天下
慕盖茨4494581
相关分类