1.默认语法
默认的界定语法以<?php开头,以?>结束
```
<h3>Welcome!</h3>
<?php
echo "<p> Some dynamic output here</p>"
?>
<p> Some dynamic output here</p>
```
结果
![](https://box.kancloud.cn/fbd100fd0580c3cbac95612834af504e_724x292.png)
2.短标签
```
<?
print "This is another PHP example";
?>
```