Why don't some people add it at the end of their php code? >_PHP Tutorial

WBOY
Release: 2016-07-13 17:16:23
Original
1077 people have browsed it

Why do some people not add it at the end of their php code?> Let me introduce it to you below.

Why don’t some people add “?>” at the end of their php code? I didn’t know it at first, but I found out later after searching on Baidu. When reading tutorials on the Internet, others have the "?>" end tag, but when looking at other people's source code, many people don't add it. It turns out that not adding the end tag can avoid the accidental output of trailing blank characters, which will cause some unnecessary changes to the code. influence.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/628699.htmlTechArticleWhy do some people not add php code at the end?> Let me introduce it to you. Why don’t some people add ? at the end of their php code? I didn’t know it at first, but I found out later after searching on Baidu. Watch tutorials online...
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template