新的方法
在 PHP 5.4.0 中引入了几个新的方法:
XSL:
- XsltProcessor::setSecurityPrefs()
- XsltProcessor::getSecurityPrefs()
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()
Closure:
- Closure::bind()
- Closure::bindTo()
PDO_dblib:
StreamWrapper:
- StreamWrapper::stream_metadata()
- StreamWrapper::stream_truncate()