Some doubts about spl in php?

WBOY
Release: 2023-03-01 18:36:01
Original
977 people have browsed it

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

Related labels:
php
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!