PHP String contain backslash, want to keep it as it is :     $string = "doamin\username"
    $newStr = str_replace("\\", "\\\\", $string);  

I want the output to be:

    echo $newStr;
    doamin\username

But It keeps giving me :

    domain sername

can somebody help fixing this problem?? Thanks