Answers for "php string array to int array"

PHP
2

php array map cast to int

$integerIDs = array_map('intval', explode(',', $string));
Posted by: Guest on September-15-2020
0

php numeric array

Array
(
    [0] => earth projection
    [1] => landslide
    [2] => earthquake
    [3] => tremor
    [4] => rockfall
)
Posted by: Guest on July-13-2021

Browse Popular Code Answers by Language