PHP Manual

  • English French German Portuguese Spanish
Manual do PHP Apêndices Migrating from PHP 5.3.x to PHP 5.4.x New Methods
Migrating from PHP 5.3.x to PHP 5.4.x What has changed in PHP 5.4.x Backward Incompatible Changes New features Changes in SAPI modules Deprecated features in PHP 5.4.x Changed Functions New Functions New Classes and Interfaces New Methods Removed Extensions Other changes to extensions New Global Constants Changes to INI file handling Other changes
  • New Classes and Interfaces
  • Removed Extensions

New Methods

Several new methods were introduced in 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()

Reflection:

  • ReflectionExtension::isPersistent()
  • ReflectionExtension::isTemporary()
  • ReflectionClass::isCloneable()

Closure:

  • Closure::bind()
  • Closure::bindTo()

PDO_dblib:

  • PDO::newRowset()

StreamWrapper:

  • StreamWrapper::stream_metadata()
  • StreamWrapper::stream_truncate()
© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.