Home > Backend Development > PHP Tutorial > 新手 EXT是什么

新手 EXT是什么

WBOY
Release: 2016-06-23 13:25:38
Original
2405 people have browsed it

百度了一圈,没太整明白

我在看thinkphp,里面有个代码是

//加载核心Think类require CORE_PATH.'Think'.EXT
Copy after login

这里边的EXT是个啥意思?


回复讨论(解决方案)

EXT 是文件后缀的意思

文件名的三个组成部分
dirname 路径
basename 文件名
extension 后缀

在 ThinkPHP.php里面定义的常量
// 类文件后缀
const EXT               =   '.class.php'; 

EXT就是后缀。

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