PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $input = 1225441; //echo log10($input); //echo intdiv($input, 10**round(log10($input))); // echo 10**round(log10($input)); while ($input > 1) { $res = intdiv($input, 10**round(log10($input))) * 10**round(log10($input)); $input -= $res; echo $res . PHP_EOL; }
Show:  
Copy Clear