|
楼主 |
发表于 2004-1-29 13:33:08
|
显示全部楼层
<?php
$str=>>>EOD
I saw a dog yesterday.
It's very fat.
Too fat to walk.
I tried to help it.
But in vain.
Because it weight 100 KG.
EOD;
echo $str;
?>
显示结果应该为
I saw a dog yesterday.
It's very fat.
Too fat to walk.
I tried to help it.
But in vain.
Because it weight 100 KG.
可我的Redhat 9.0得不到以上结果,显示结果如下:
Parse error: parse error, unexpected T_DOUBLE_ARROW in
/home/nyb/public_html/eod.php on line 2
烦请大家帮帮忙:help :help |
|