It's good that you pointed out the . (dot) operator, and I realize I'm being a tad pedantic, but...
Will result in:$string = '\'.$string;
Can't find string terminator "'" anywhere before EOF
As teabag mentioned above, you need to escape the backslash thusly:
$string = '\\'.$string;
Cē
In reply to Re: Re: concat '\' with word
by cciulla
in thread concat '\' with word
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |