stripcslashes does not simply skip the C-style escape sequences \a, \b, \f, \n, \r, \t and \v, but converts them to their actual meaning. 
So
<?php
stripcslashes('\n') == "\n"; //true;
$str = "we are escaping \r\n"; //we are escaping
?>(PHP 4, PHP 5, PHP 7, PHP 8)
stripcslashes — Rimuove gli slash aggiunti con addcslashes()
     Rimuove i backslash da una stringa. Riconosce i caratteri C
     \n, \r ..., le rappresentazioni ottali
     e esadecimali.
    
Vedere anche addcslashes().
stripcslashes does not simply skip the C-style escape sequences \a, \b, \f, \n, \r, \t and \v, but converts them to their actual meaning. 
So
<?php
stripcslashes('\n') == "\n"; //true;
$str = "we are escaping \r\n"; //we are escaping
?>