php remove enter from string

Solutions on MaxInterview for php remove enter from string by the best coders in the world