Home  >  Article  >  php教程  >  为什么有些人php代码最后不加?>

为什么有些人php代码最后不加?>

WBOY
WBOYOriginal
2016-06-13 10:16:571388browse

为什么有些人php代码最后不加?>下面我给大家介绍介绍。

为什么有些人php代码最后不加“?>”呢?起初我也不知道,后来百度了才知道。网上看教程,别人都有“?>”结束标签,但是看别人的源码很多人都没有加,原来不加结束标签可以避免尾部的空白字符意外输出,对代码产生某些不必要的影响。

Statement:
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