PHP Velho Oeste 2024

Introdução

A Standard PHP Library (SPL) é uma coleção de interfaces e classes destinadas a resolver problemas comuns.

A SPL fornece um conjunto de estruturas de dados padrão, um conjunto de iteradores para percorrer objetos, um conjunto de interfaces, um conjunto de exceções padrão e algumas classes para trabalhar com arquivos, além de um conjunto de funções como 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