Need to explicitly handle 10 - 19. Sum of the two digits is used as index of " two _ digits " array of strings
if ( $ num [ $ x ] - '0' == 1 ) { $ sum = $ num [ $ x ] - '0' + $ num [ $ x ] - '0' ; echo $ two_digits [ $ sum ] . " ▁ STRNEWLINE " ; return ; }