There are always errors in writing PHP today: Parse error:syntax error, unexpected end of file in *.php on line *, then I follow the prompts to find the file, and then always prompt for the last line error , I found the last line to find is, dizzy, this can have what error, find a long time to find the problem, to share.
The cause of this error is a syntax error, it is certainly the PHP program written by the non-standard, I later found that the PHP statement identifier is wrong, the normal situation should be this: <?php your PHP statement?, I wrote this: < Your PHP statement?, of course, it is good to write, but I did not open the php.ini in the short label, so it caused the error, in addition to note that there is a space behind <?php, if not write will also appear this error, although this error is inadvertently, But sometimes it's hard to find out, so let's take a look.
http://www.bkjia.com/PHPjc/825528.html www.bkjia.com true http://www.bkjia.com/PHPjc/825528.html techarticle This is always the case when I write a PHP program today: Parse error:syntax error, unexpected end of file in *.php on line *, and then I follow the prompts to find the file, but ...