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

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -