Home > Backend Development > PHP Tutorial > PHP case sensitivity issue

PHP case sensitivity issue

巴扎黑
Release: 2016-11-11 11:56:02
Original
1348 people have browsed it

1. Case sensitive
1. Variable names are case sensitive
All variables are case sensitive, including ordinary variables and $_GET,$_POST,$_REQUEST,$_COOKIE,$_SESSION,$GLOBALS,$_SERVER,$_FILES, $_ENV, etc.;

2. Magic constants are not case-sensitive, uppercase is recommended
including: __LINE__, __FILE__, __DIR__, __FUNCTION__, __CLASS__, __METHOD__, __NAMESPACE__.


Related labels:
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