fork download
  1. <?php
  2. $Var = 'Jorge \n Anibal\n escobar';
  3. $Var = eregi_replace('[\\n|\\r|\\n\\r]', '', $Var);
  4. echo $Var;
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
Joge  Aibal escoba