I was upgrading a client's site the other day and noticed that the previous developer had used <?=$foo?>
to echo out variable $foo
in the code. I know from my days in VBScript that using <%=foo%>
works to write out variables to the screen but I had never seen it in PHP nor can I find any documentation on it in Google (part of this is probably because I don't know what this shorthand is technically called).
Is this ok to use or is this deprecated? Does anyone have any further information on this method of echo'ing variables in PHP?
Thanks!