About the Book
What is PHP Standard Library or SPL?
How do we use that in-built PHP classes to manage Data Structure or File System?
How to use Iterator Interfaces? How has this library been updated in PHP 8?
A Beginner's guide that will move from lesser known facts to unknown facts about PHP SPL.
PHP SPL stands for Standard PHP Library.
In a nutshell, this library is a collection of classes and interfaces. These classes and interfaces help us to solve common problems.
The main advantage of using SPL in PHP is we don’t have to take help of any external libraries or extensions.
Since the SPL in PHP is in-built, one can use it in any project.
At any time. As requirements we don’t need anything more.
The other advantages include many more things.
Since they are part of PHP core, we don’t have to install any extra packages.
Consider the example of the DirectoryIterator class.
The DirectoryIterator class provides a simple interface that we can use for viewing the contents of filesystem directories.
However, this is just a glimmer, a drop of ocean. We'll learn all the necessary methods and constants that are associated with Standard PHP Libraries.
While we're reading this book, besides keep in touch with all PHP 8 related articles at :
About the Author
Sanjib Sinha has written six books for Apress; he also publishes at Leanpub and Amazon to share his learning-experience. Sanjib writes regularly in: https://sanjibsinha.com on Flutter, Dart and Algorithm.
If you cannot afford to buy any Book, please contact.