<?php var_dump("a\n");var_dump("a\r");var_dump(unpack('C*', "a\n\r"));
Standard input is empty
string(2) "a " string(2) "a " array(3) { [1]=> int(97) [2]=> int(10) [3]=> int(13) }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!