Home > Backend Development > PHP Tutorial > PHP linux spl_autoload_register is case sensitive, splregisterautoload_PHP tutorial

PHP linux spl_autoload_register is case sensitive, splregisterautoload_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-12 08:57:31
Original
1109 people have browsed it

PHP linux spl_autoload_register is case-sensitive, splregisterautoload

A PHP script uses spl_autoload_register, which runs normally under WINDOWS, but cannot be included in LINUX. Later I found that WINDOWS is not case-sensitive , and under LINUX, it is case-sensitive. Under WINDOS, spl_autoload_register will convert the class name into lower case for file search. This will cause the file to be unable to be included normally under Linux, so when naming, pay attention to the consistency of the case of the file name and the class name. .

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1108334.htmlTechArticlePHP linux spl_autoload_register is case-sensitive, splregisterautoload A PHP script uses spl_autoload_register and runs normally under WINDOWS, but not under LINUX It couldn't be included, and later I found out...
Related labels:
php
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template