> Or would you expect 6 backslashes because you should take it literal and need to escape every single one of them (and in that case, how would you even do that, I guess PHP only 'sees' 2 backslashes).

yes, every single one... ``addslashes`` seems to work, but i don't know it its the right thing to do