Printing special characters in php -


i have php variable contains data io stream (say, file i've read). string contains number of special characters such \n , \t , forth. need able print of these characters screen can examine string visually. i'm presuming there's way of escaping them, life of me can't figure out how.

addcslashes("test\n", "\0..\37\177..\377") 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -