title: how to write new lines in CLI and web browser?
body: <p>I am running a php script from CLI command and web browser. I need to dispaly new lines properly in both ways so that it does not print <code>"&lt;br /&gt;"</code> in CLI and it shows new lines in browsers. Does anyone know how to write php function for this?</p>
  
  <p>thanks for any helps</p>