Home > Backend Development > PHP Tutorial > PHP Expecting `T_PAAMAYIM_NEKUDOTAYIM'

PHP Expecting `T_PAAMAYIM_NEKUDOTAYIM'

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:36:36
Original
1991 people have browsed it

在写PHP页面代码的时候,遇到 Expecting `T_PAAMAYIM_NEKUDOTAYIM'

网上查到的内容不是很明晰。最后终于发现是自己丢了PHP变量的$美元符号。作为初学者,丢三落四是常见的。

代码如下:

foreach($array as item)     echo item;
Copy after login

item 之前应该加上$

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
:: question
From 1970-01-01 08:00:00
0
0
0
The following error occurs in Chapter 3-6
From 1970-01-01 08:00:00
0
0
0
Grammatical errors
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template