Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php convert string to int in array

$array = ["123", "34", "223"];
$integerIDs = array_map('intval', $array);
 
PREVIOUS NEXT
Tagged: #php #convert #string #int #array
ADD COMMENT
Topic
Name
1+8 =