From the course: Learning the Standard PHP Library

Welcome - PHP Tutorial

From the course: Learning the Standard PHP Library

Start my 1-month free trial

Welcome

- [Voiceover] Hi, I'm David Powers. Welcome to Up and Running with the Standard PHP Library. The SPL, as it's known, is a collection of really useful classes for traversing, filtering and sorting files, data, and objects. We'll begin by using SPL iterators to explore the file system. Then chaining them with other iterators to work with specific types of file. I'll show you how to load XML and JSON data and paginate through the results. You'll also see how to convert a multi-dimensional array into a series of nested HTML un-ordered lists with only a few lines of code. We'll take a look at data structures including doubly linked lists and heaps, which can be useful for sorting data. SPL's weakness lies in incomplete documentation. This course aims to fill that gap and to get you up and running with the standard PHP library through a series of practical examples.

Contents