🌈 搜索
📅  最后修改于: 2022-03-11 14:54:37.135000             🧑  作者: Mango
$str = 'In My Cart : 11 items'; $int = (int) filter_var($str, FILTER_SANITIZE_NUMBER_INT);