DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
way to convert an integer to an array of numbers
$number = 2468; $array = array_map('intval', str_split($number)); var_dump($array);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#integer
#array
#numbers
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit