Why is it called SPL? why is it called SPL or extended like the built-in PHP method? I have always known about this, but I feel that I haven't studied it too much when I use it. However, I saw it in the framework last week .~~~ Why is it called SPL? why is it called SPL or extended like the built-in PHP method? I have always known about this, but I feel that I haven't studied it too much when I use it. However, I saw it in the framework last week .~~~
Reply content:
Why is it called SPL? why is it called SPL or extended like the built-in PHP method? I have always known about this, but I feel that I haven't studied it too much when I use it. However, I saw it in the framework last week .~~~
There is nothing special about the SPL name. it's just because the full name is Standard PHP Library.
It is an extension introduced by PHP 5.0. of course, it is enabled by default. it cannot cancel compilation at the beginning of 5.3. it defines a series of standard data structures and interfaces, it also provides several methods to facilitate the use of PHP's autoload system.