Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $string = "opentext,opentexttextopen222";
- Warning: preg_replace(): Delimiter must not be alphanumeric or backslash
- str_replace('\', '\\', $string);
- preg_replace('/\/', '\\\', $string);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement