PHP Interview

How many types of Tags are available in php?

Posted by 10 January, 2009 (0) Comment

Standard Tags <?php
… code
?>

Short Tags <?
… code
?>

<?= $variable ?>

Script Tags <script language=“php”>
… code
</script>

ASP Tags <%
… code
%>

Short tags, script tags and ASP tags are all considered deprecated and their use is strongly discouraged.

Share
Categories : PHP Interview Tags :