PHP解析错误:语法错误,在Codeigniter视图中意外的文件结束 [英] PHP Parse error: syntax error, unexpected end of file in a Codeigniter View
本文介绍了PHP解析错误:语法错误,在Codeigniter视图中意外的文件结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Codeigniter视图中收到意外的文件结束
错误。
I am getting an unexpected end of file
error on my Codeigniter View.
我在 http://codepad.org/S12oXE4t
此代码通过各种在线PHP语法测试,但我不知道为什么仍然显示以下错误,当我试图在Wamp服务器运行。 p>
This code passed various online PHP Syntax test but I don't know why still it shows me the below error while I was trying to run in Wamp Server.
Parse error: syntax error, unexpected end of file in
E:\wampserver\www\CodeIgniter\application\views\layouts\default.php on line 676
参考 line 676
是代码中的最后一行。任何人都能告诉我我做错了什么?
For reference line 676
is the last line in the code. Can anybody tell me what I did wrong?
推荐答案
检查您的short_open_tag 设置(使用<?php phpinfo()?>
查看其当前设置)。
Check your short_open_tag setting (use <?php phpinfo() ?>
to see its current setting).
这篇关于PHP解析错误:语法错误,在Codeigniter视图中意外的文件结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文