Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

explode php all values to int

$s = "1,2,3,8,2";
$ints = array_map('intval', explode(',', $s ));
var_dump( $ints );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #explode #php #values #int
ADD COMMENT
Topic
Name
5+1 =