I need to reformat a string that may contain the following:
$string = "---8\7----";
The problem is that "\ 7" is interpreted by PHP as an octal value, not just "\" and then "7".
How can I block php from doing this? Of course I need to save '\' Thanks.
source
share