intval和(int)之间有什么特别的区别吗?
例:
$product_id = intval($_GET['pid']); $product_id = (int) $_GET['pid'];
上面两行代码之间有什么特别的区别吗?
php
php ×1