Home >Backend Development >PHP Tutorial >Some doubts about spl in php?

Some doubts about spl in php?

WBOY
WBOYOriginal
2016-12-01 00:25:501014browse

Why is it specifically called SPL? Why is it not added to PHP like the usual built-in methods of PHP but called SPL, or added as an extension? I have always known that this thing exists, but I didn’t do much research because I felt it was rarely used. However, I actually saw this thing in the framework last week. ~~~

Reply content:

Why is it specifically called SPL? Why is it not added to PHP like the usual built-in methods of PHP but called SPL, or added as an extension? I have always known that this thing exists, but I didn’t do much research because I felt it was rarely used. However, I actually saw this thing in the framework last week. ~~~

There is nothing special about the name SPL. It is just abbreviated because the full name is Standard PHP Library

It is an extension introduced since PHP 5.0. Of course, it is enabled by default. Starting from 5.3, compilation cannot be canceled. It defines a series of standard data structures, interfaces, etc., and also provides convenient use of PHP's autoload Several methods of the system

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