doutiaosu2310 2012-11-22 18:32
浏览 90
已采纳

PHP - T_STRING的含义[关闭]

Can someone explain what the T_STRING error is in php?

Its is found in many php error messages, but what exactly is a T_STRING?

  • 写回答

2条回答 默认 最新

  • drl959975 2012-11-22 18:34
    关注

    T_STRING referes to a literal string object inside the scripts source code. Just like language constructs (print, if, ...) they have a special meaning on a syntactical level.

    So an error mentioning something like an 'unexpected T_STRING' usually points towards a syntax error where the compiler found a string where it expected something else, typically a closing bracket or something else.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 VB.NET画图时的撤销编程
  • ¥15 C# webservice 参数特殊字符处理
  • ¥15 关于控制时间更新的一个操作
  • ¥15 JAVA中使用poi创建word文件,实现页面边框环绕页眉
  • ¥15 matlibplot绘图图形切线问题
  • ¥15 flink 深度优先搜索
  • ¥15 python for everybody 使用Beautifulsoup构建soup对象的时候疯狂报错
  • ¥15 mac playcover上原神在登录后的加载页面闪退,重新下载原神IPA和playcover均无效
  • ¥20 node-dev能不能离线安装?
  • ¥20 六子棋博弈基于Alpha-Beta剪枝搜索算法的优化