That's weird. Okay, just to check:
<?php
echo "This is a slash: /";
?>
What output do you get?
By the way, note that backslashes, on the other hand, are used to denote escape sequences, so that could explain the problem if you were using backslashes, but here that should not be the case.