Why is it called SPL, and why isn't he adding PHP instead of the usual PHP built-in method, or adding it as an extension? Always knew that there was this thing, but it didn't seem to work too much, but I saw it in the frame last week. ~~~
Reply content:
Why is it called SPL, and why isn't he adding PHP instead of the usual PHP built-in method, or adding it as an extension? Always knew that there was this thing, but it didn't seem to work too much, but I saw it in the frame last week. ~~~
The name SPL, nothing special, just because the full name is the standard PHP Library so it's abbreviated.
It is an extension introduced in PHP 5.0, of course, the default is enabled, 5.3 can no longer be de-compiled, it defines a series of standard data structures, interfaces and so on, and also provides a convenient way to use PHP AutoLoad system of several methods