新的方法
在 PHP 5.4.0 中引入了几个新的方法:
XSL:
SPL:
- RegexIterator::getRegex()
- SplObjectStorage::getHash()
- DirectoryIterator::getExtension()
- SplDoublyLinkedList::serialize()
- SplDoublyLinkedList::unserialize()
- SplFileInfo::getExtension()
- SplFileObject::fputcsv()
- SplQueue::serialize()
- SplQueue::unserialize()
- SplStack::serialize()
- SplStack::unserialize()
- SplTempFileObject::fputcsv()
反射:
- ReflectionExtension::isPersistent()
- ReflectionExtension::isTemporary()
- ReflectionClass::isCloneable()
- PDO::newRowset()