<?php $a = 121; $b = (string)$a; $c = str_split($b); for ($b=0; $b<=count($c);++$b){ $d=array_sum($c); } echo $d;
You have javascript disabled. You will not be able to edit any code.