short format of server script tag in php

By Santhosh N

A php server script block can be written in shorter format without using php name

Usually a php server side script block is written between <?php and ?>
This could be written inside the shorter format as <? and ?>

However, as to use the shorter format, the webserver need to be supporting shorter format and for maximum compatibility it is recommended to use first specified one <?php and ?>

short format of server script tag in php  (913 Views)