Commands in PhP program 1) echo ‘enter the line’; -> to be printed on the screen 2) echo strlen(“enter the line”); -> Total number of letters, numbers, spaces and special characters 3) echo str_word_count(“Enter the line”); -> Total number of words 4) echo strrev(“Enter the line”); -> line to be reversed 5) echo str_replace(“word to be replaced”, “new word”, “line”); -> replacing a word with a new one in a line