Php stripcslashes non-string citée avec addcslashes ()

<?php

var_dump(stripcslashes('I\'d have a coffee.\nNot a problem.') === "I'd have a coffee.
Not a problem."); // true
?>
SAMER SAEID