Hi everyone,
backslash before every character listed in the character list. I've
done a couple of experiments:
echo bin2hex(addcsla shes("a","a")) gives 5c31, as expected ('\'
followed by 'a')
Next, I tried
echo bin2hex(addcsla shes("\0","\0") ); which gave 5c 30 30 30, which is
a backslash followed by 3 spaces. What's happening here? I would have
thought that the output would be
5c 00 (backslash followed by a null)
Taras
>From what I understand in of addcslashes, addcslashes should add a
done a couple of experiments:
echo bin2hex(addcsla shes("a","a")) gives 5c31, as expected ('\'
followed by 'a')
Next, I tried
echo bin2hex(addcsla shes("\0","\0") ); which gave 5c 30 30 30, which is
a backslash followed by 3 spaces. What's happening here? I would have
thought that the output would be
5c 00 (backslash followed by a null)
Taras
Comment