View Hidden Characters In Php

To easily view hidden characters in a string just echo the string with json_encode. You will be able to see all the \n and \r\n hidden characters.