PHP Velho Oeste 2024

Introduction

La bibliothèque standard PHP (SPL) est une collection d'interfaces et de classes qui ont été créées afin de résoudre les problèmes communs.

SPL fournit des structures de données, un ensemble d'itérateur pour traverser des objets, des interfaces, un ensemble d'exceptions standards ainsi qu'un certain nombre de classes pour travailler avec des fichiers. SPL fournit aussi un jeu de fonctions telle que spl_autoload_register().

add a note add a note

User Contributed Notes 2 notes

up
5
Mefi (zokni at mefi dot be)
10 years ago
SPL is a collection of classes and interfaces providing an API for built-in PHP functions, allowing developers to write  fully object oriented code with standard tools, using PHP in a
much more elegant way.
up
-1
Anonymous
11 years ago
SPL provides a standard set of interfaces for PHP5. The aim of SPL is to implement some efficient data access interfaces and classes for PHP. Functionally it is designed to traverse aggregate structures (anything you want to loop over). These may include arrays, database result sets, xml trees, directory listings or any list at all. Currently SPL deals with Iterators.
To Top