<?php // your code goes here var_dump(nl2br(htmlentities("€\r\n"))); ?>
Standard input is empty
string(14) "€<br /> "
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!