fork download
  1. <?php
  2.  
  3. $numero=123456789;
  4.  
  5. echo array_sum(str_split($numero));
Success #stdin #stdout 0.01s 82560KB
stdin
Standard input is empty
stdout
45