Summary

PHP has a rich collection of built-in functions, and the list is growing every day. In this chapter, we explored some of the defined functions that can be used in implementing data structures and algorithms. There are many other external libraries available as well. We can select any of the internal or external libraries as per our preferences. Also, there are plenty of online resources to get acquainted with the data structures and algorithm concepts. You also learned about the performance concerns for SPL classes in PHP 7 and got introduced to a new library for PHP 7 data structures. We have to remember that data structures and algorithms are not language agnostic. We can have same data structures and algorithms implemented using different languages or different versions of the same language. In our next chapter, we will explore another area of programming, which is very popular at this moment, the functional programming. So, next, we will focus on functional data structure with PHP.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset