Is there an '@' equivalent in php? like we have @"C:\Users\Documents" in C# -
every time specifying path, have add additional '\' characters. there way can have specify path
$path=@"c:\users\documents";//need php instead of
$path="c:\\users\\documents"; thanks in advance sharing inputs
note: not looking dirname().
yes, using single quotes
$path = 'c:\users\documents'; this may useful: what difference between single-quoted , double-quoted strings in php?
Comments
Post a Comment