PHP Velho Oeste 2024

简介

PHP 标准库(SPL)是用于解决标准问题(standard problems)的一组接口与类的集合。

SPL 提供了一套标准的数据结构、遍历对象的迭代器、异常,以及一些处理文件的类,它还提供了一系列的函数,比如 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