Hey,
Just a (hopefully) quick question.
I have a number, which is probably two or three digits long. How would I split this integer into an array, with each singular digit as a part of the array, without anything to explode it by?
$number = 25;
// $number[0] = 2;
// $number[1] = 5;
// etc...
I’ve searched quite a bit, but I can’t find anything! Any help would be much appreciated.