#!/usr/bin/php <? echo 'php';
php code.php 执行时输出源码
php code.php
原因: 未开启shortopentag ,无法解析 <?
shortopentag
<?
[root@repo tasks]# php -i |grep "short_open_tag" short_open_tag => Off => Off