how to escape single and double quotes in php code example Example: how to print any string in double quotes in php $web = "...if (url.contains(\".mp4\"))..."