0

Currently i am working with an boonex dolphin project inside the project soruce code many of the php file starts with <? instead of <?php also i found out that in many of statements it used another statement like<?= $start ?>

<td valign="top" align="justify"><?= $str ?></td>

  • this called php short tag ..research for it and you will come to know its use – rahul Aug 27 '16 at 09:03
  • There is such thing as a documentation for php. Start reading it. You cannot develop in php without that anyway. – arkascha Aug 27 '16 at 09:06

1 Answers1

0
"<?" : Short tags (you have to allow it from your server php.ini)
"<?php" : this represents php starting point.
"<?=" : it is just to show the output
example :

<?php $test= 'abc';?>
<?=$test?>
its output is abc
rahul
  • 776
  • 5
  • 30