Parse error: syntax error, unexpected end of file这种提示是语法错误。 在<?php ?>中,如果写成了<? ?>这样的,也会出现这样的错误提示,所以写代码的习惯很重要。