Print given sentence into its equivalent ASCII form | Function to compute the ASCII value of each character one by one ; Driver code
< ? php function ASCIISentence ( $ str ) { for ( $ i = 0 ; $ i < strlen ( $ str ) ; $ i ++ ) echo ord ( $ str [ $ i ] ) ; } $ str = " GeeksforGeeks " ; echo " ASCII ▁ Sentence : " . " STRNEWLINE " ; ASCIISentence ( $ str ) ; ? >