<?php $string = '1,2,3'; $ids = array_map(fn(string $x): int => $x, explode(',', $string)); var_export($ids);
You have javascript disabled. You will not be able to edit any code.