🌈 搜索
📅  最后修改于: 2022-03-11 14:54:47.834000             🧑  作者: Mango
$s = "1,2,3,8,2"; $ints = array_map('intval', explode(',', $s )); var_dump( $ints );