php8.5
Home/ Manual/ appendices / migration84/ New Functions

New Functions

The following methods relate to the new lazy object feature: ReflectionClass::newLazyGhostReflectionClass::newLazyProxyReflectionClass::resetAsLazyGhostReflectionClass::resetAsLazyProxyReflectionClass::isUninitializedLazyObjectReflectionClass::initializeLazyObjectReflectionClass::markLazyObjectAsInitializedReflectionClass::getLazyInitializerReflectionProperty::skipLazyInitializationReflectionProperty::setRawValueWithoutLazyInitialization

Core

BCMath

Date

  • DateTime::createFromTimestamp
  • DateTime::getMicrosecond
  • DateTime::setMicrosecond
  • DateTimeImmutable::createFromTimestamp
  • DateTimeImmutable::getMicrosecond
  • DateTimeImmutable::setMicrosecond

DOM

  • DOMNode::compareDocumentPosition
  • DOMXPath::registerPhpFunctionNS
  • DOMXPath::quote

Hash

  • HashContext::__debugInfo

Intl

MBString

Opcache

PCNTL

PDO_PGSQL

  • Pdo\Pgsql::setNoticeCallback

PGSQL

Reflection

The following methods relate to the new lazy object feature:

  • ReflectionClass::newLazyGhost
  • ReflectionClass::newLazyProxy
  • ReflectionClass::resetAsLazyGhost
  • ReflectionClass::resetAsLazyProxy
  • ReflectionClass::isUninitializedLazyObject
  • ReflectionClass::initializeLazyObject
  • ReflectionClass::markLazyObjectAsInitialized
  • ReflectionClass::getLazyInitializer
  • ReflectionProperty::skipLazyInitialization
  • ReflectionProperty::setRawValueWithoutLazyInitialization
  • ReflectionClassConstant::isDeprecated
  • ReflectionGenerator::isClosed
  • ReflectionProperty::isDynamic

Sodium

SPL

  • SplObjectStorage::seek

SOAP

  • SoapServer::__getLastResponse

Standard

Tidy

  • tidyNode::getNextSibling
  • tidyNode::getPreviousSibling

XMLReader

  • XMLReader::fromStream
  • XMLReader::fromUri
  • XMLReader::fromString

XMLWriter

  • XMLWriter::toStream
  • XMLWriter::toUri
  • XMLWriter::toMemory

XSL

  • XSLTProcessor::registerPhpFunctionNS

Source: appendices/migration84/new-functions.xml · from the official PHP manual (php/doc-en)