3v4l.org

run code in 300+ PHP versions simultaneously
<?php $classes = get_declared_classes(); foreach($classes as $class) { $methods = get_class_methods($class); foreach($methods as $method) { if (in_array($method, array('__construct', '__destruct', '__call', '__callStatic', '__get', '__set', '__isset', '__unset', '__sleep', '__wakeup', '__toString', '__invoke', '__set_state', '__clone'))) { print "$class::$method\n"; } } }
Output for git.master, git.master_jit
Exception::__construct Exception::__wakeup Exception::__toString ErrorException::__construct ErrorException::__wakeup ErrorException::__toString Error::__construct Error::__wakeup Error::__toString CompileError::__construct CompileError::__wakeup CompileError::__toString ParseError::__construct ParseError::__wakeup ParseError::__toString TypeError::__construct TypeError::__wakeup TypeError::__toString ArgumentCountError::__construct ArgumentCountError::__wakeup ArgumentCountError::__toString ValueError::__construct ValueError::__wakeup ValueError::__toString ArithmeticError::__construct ArithmeticError::__wakeup ArithmeticError::__toString DivisionByZeroError::__construct DivisionByZeroError::__wakeup DivisionByZeroError::__toString UnhandledMatchError::__construct UnhandledMatchError::__wakeup UnhandledMatchError::__toString ClosedGeneratorException::__construct ClosedGeneratorException::__wakeup ClosedGeneratorException::__toString WeakReference::__construct Attribute::__construct ReturnTypeWillChange::__construct AllowDynamicProperties::__construct SensitiveParameter::__construct SensitiveParameterValue::__construct Fiber::__construct FiberError::__construct FiberError::__wakeup FiberError::__toString DateTime::__construct DateTime::__wakeup DateTime::__set_state DateTimeImmutable::__construct DateTimeImmutable::__wakeup DateTimeImmutable::__set_state DateTimeZone::__construct DateTimeZone::__wakeup DateTimeZone::__set_state DateInterval::__construct DateInterval::__wakeup DateInterval::__set_state DatePeriod::__construct DatePeriod::__wakeup DatePeriod::__set_state SQLite3::__construct DOMException::__construct DOMException::__wakeup DOMException::__toString DOMDocumentFragment::__construct DOMDocument::__construct DOMAttr::__construct DOMElement::__construct DOMText::__construct DOMComment::__construct DOMCdataSection::__construct DOMEntityReference::__construct DOMProcessingInstruction::__construct DOMXPath::__construct finfo::__construct JsonException::__construct JsonException::__wakeup JsonException::__toString LogicException::__construct LogicException::__wakeup LogicException::__toString BadFunctionCallException::__construct BadFunctionCallException::__wakeup BadFunctionCallException::__toString BadMethodCallException::__construct BadMethodCallException::__wakeup BadMethodCallException::__toString DomainException::__construct DomainException::__wakeup DomainException::__toString InvalidArgumentException::__construct InvalidArgumentException::__wakeup InvalidArgumentException::__toString LengthException::__construct LengthException::__wakeup LengthException::__toString OutOfRangeException::__construct OutOfRangeException::__wakeup OutOfRangeException::__toString RuntimeException::__construct RuntimeException::__wakeup RuntimeException::__toString OutOfBoundsException::__construct OutOfBoundsException::__wakeup OutOfBoundsException::__toString OverflowException::__construct OverflowException::__wakeup OverflowException::__toString RangeException::__construct RangeException::__wakeup RangeException::__toString UnderflowException::__construct UnderflowException::__wakeup UnderflowException::__toString UnexpectedValueException::__construct UnexpectedValueException::__wakeup UnexpectedValueException::__toString RecursiveIteratorIterator::__construct IteratorIterator::__construct FilterIterator::__construct RecursiveFilterIterator::__construct CallbackFilterIterator::__construct RecursiveCallbackFilterIterator::__construct ParentIterator::__construct LimitIterator::__construct CachingIterator::__construct CachingIterator::__toString RecursiveCachingIterator::__construct RecursiveCachingIterator::__toString NoRewindIterator::__construct AppendIterator::__construct InfiniteIterator::__construct RegexIterator::__construct RecursiveRegexIterator::__construct RecursiveTreeIterator::__construct ArrayObject::__construct ArrayIterator::__construct RecursiveArrayIterator::__construct SplFileInfo::__construct SplFileInfo::__toString DirectoryIterator::__construct DirectoryIterator::__toString FilesystemIterator::__construct FilesystemIterator::__toString RecursiveDirectoryIterator::__construct RecursiveDirectoryIterator::__toString GlobIterator::__construct GlobIterator::__toString SplFileObject::__construct SplFileObject::__toString SplTempFileObject::__construct SplTempFileObject::__toString SplFixedArray::__construct SplFixedArray::__wakeup MultipleIterator::__construct PDOException::__construct PDOException::__wakeup PDOException::__toString PDO::__construct Random\RandomError::__construct Random\RandomError::__wakeup Random\RandomError::__toString Random\BrokenRandomEngineError::__construct Random\BrokenRandomEngineError::__wakeup Random\BrokenRandomEngineError::__toString Random\RandomException::__construct Random\RandomException::__wakeup Random\RandomException::__toString Random\Engine\Mt19937::__construct Random\Engine\PcgOneseq128XslRr64::__construct Random\Engine\Xoshiro256StarStar::__construct Random\Randomizer::__construct ReflectionException::__construct ReflectionException::__wakeup ReflectionException::__toString ReflectionFunctionAbstract::__toString ReflectionFunction::__construct ReflectionFunction::__toString ReflectionGenerator::__construct ReflectionParameter::__construct ReflectionParameter::__toString ReflectionType::__toString ReflectionNamedType::__toString ReflectionUnionType::__toString ReflectionIntersectionType::__toString ReflectionMethod::__construct ReflectionMethod::__toString ReflectionClass::__construct ReflectionClass::__toString ReflectionObject::__construct ReflectionObject::__toString ReflectionProperty::__construct ReflectionProperty::__toString ReflectionClassConstant::__construct ReflectionClassConstant::__toString ReflectionExtension::__construct ReflectionExtension::__toString ReflectionZendExtension::__construct ReflectionZendExtension::__toString ReflectionAttribute::__toString ReflectionEnum::__construct ReflectionEnum::__toString ReflectionEnumUnitCase::__construct ReflectionEnumUnitCase::__toString ReflectionEnumBackedCase::__construct ReflectionEnumBackedCase::__toString ReflectionFiber::__construct AssertionError::__construct AssertionError::__wakeup AssertionError::__toString SimpleXMLElement::__construct SimpleXMLElement::__toString SimpleXMLIterator::__construct SimpleXMLIterator::__toString PharException::__construct PharException::__wakeup PharException::__toString Phar::__construct Phar::__destruct Phar::__toString PharData::__construct PharData::__destruct PharData::__toString PharFileInfo::__construct PharFileInfo::__destruct PharFileInfo::__toString PhpToken::__construct PhpToken::__toString Collator::__construct NumberFormatter::__construct MessageFormatter::__construct IntlDateFormatter::__construct IntlDatePatternGenerator::__construct ResourceBundle::__construct IntlGregorianCalendar::__construct Spoofchecker::__construct IntlException::__construct IntlException::__wakeup IntlException::__toString IntlRuleBasedBreakIterator::__construct UConverter::__construct
Output for rfc.property-hooks
Exception::__construct Exception::__wakeup Exception::__toString ErrorException::__construct ErrorException::__wakeup ErrorException::__toString Error::__construct Error::__wakeup Error::__toString CompileError::__construct CompileError::__wakeup CompileError::__toString ParseError::__construct ParseError::__wakeup ParseError::__toString TypeError::__construct TypeError::__wakeup TypeError::__toString ArgumentCountError::__construct ArgumentCountError::__wakeup ArgumentCountError::__toString ValueError::__construct ValueError::__wakeup ValueError::__toString ArithmeticError::__construct ArithmeticError::__wakeup ArithmeticError::__toString DivisionByZeroError::__construct DivisionByZeroError::__wakeup DivisionByZeroError::__toString UnhandledMatchError::__construct UnhandledMatchError::__wakeup UnhandledMatchError::__toString ClosedGeneratorException::__construct ClosedGeneratorException::__wakeup ClosedGeneratorException::__toString WeakReference::__construct Attribute::__construct ReturnTypeWillChange::__construct AllowDynamicProperties::__construct SensitiveParameter::__construct SensitiveParameterValue::__construct Fiber::__construct FiberError::__construct FiberError::__wakeup FiberError::__toString DateTime::__construct DateTime::__wakeup DateTime::__set_state DateTimeImmutable::__construct DateTimeImmutable::__wakeup DateTimeImmutable::__set_state DateTimeZone::__construct DateTimeZone::__wakeup DateTimeZone::__set_state DateInterval::__construct DateInterval::__wakeup DateInterval::__set_state DatePeriod::__construct DatePeriod::__wakeup DatePeriod::__set_state DateError::__construct DateError::__wakeup DateError::__toString DateObjectError::__construct DateObjectError::__wakeup DateObjectError::__toString DateRangeError::__construct DateRangeError::__wakeup DateRangeError::__toString DateException::__construct DateException::__wakeup DateException::__toString DateInvalidTimeZoneException::__construct DateInvalidTimeZoneException::__wakeup DateInvalidTimeZoneException::__toString DateInvalidOperationException::__construct DateInvalidOperationException::__wakeup DateInvalidOperationException::__toString DateMalformedStringException::__construct DateMalformedStringException::__wakeup DateMalformedStringException::__toString DateMalformedIntervalStringException::__construct DateMalformedIntervalStringException::__wakeup DateMalformedIntervalStringException::__toString DateMalformedPeriodStringException::__construct DateMalformedPeriodStringException::__wakeup DateMalformedPeriodStringException::__toString SQLite3::__construct DOMException::__construct DOMException::__wakeup DOMException::__toString DOMDocumentFragment::__construct DOMDocument::__construct DOMAttr::__construct DOMElement::__construct DOMText::__construct DOMComment::__construct DOMCdataSection::__construct DOMEntityReference::__construct DOMProcessingInstruction::__construct DOMXPath::__construct finfo::__construct JsonException::__construct JsonException::__wakeup JsonException::__toString LogicException::__construct LogicException::__wakeup LogicException::__toString BadFunctionCallException::__construct BadFunctionCallException::__wakeup BadFunctionCallException::__toString BadMethodCallException::__construct BadMethodCallException::__wakeup BadMethodCallException::__toString DomainException::__construct DomainException::__wakeup DomainException::__toString InvalidArgumentException::__construct InvalidArgumentException::__wakeup InvalidArgumentException::__toString LengthException::__construct LengthException::__wakeup LengthException::__toString OutOfRangeException::__construct OutOfRangeException::__wakeup OutOfRangeException::__toString RuntimeException::__construct RuntimeException::__wakeup RuntimeException::__toString OutOfBoundsException::__construct OutOfBoundsException::__wakeup OutOfBoundsException::__toString OverflowException::__construct OverflowException::__wakeup OverflowException::__toString RangeException::__construct RangeException::__wakeup RangeException::__toString UnderflowException::__construct UnderflowException::__wakeup UnderflowException::__toString UnexpectedValueException::__construct UnexpectedValueException::__wakeup UnexpectedValueException::__toString RecursiveIteratorIterator::__construct IteratorIterator::__construct FilterIterator::__construct RecursiveFilterIterator::__construct CallbackFilterIterator::__construct RecursiveCallbackFilterIterator::__construct ParentIterator::__construct LimitIterator::__construct CachingIterator::__construct CachingIterator::__toString RecursiveCachingIterator::__construct RecursiveCachingIterator::__toString NoRewindIterator::__construct AppendIterator::__construct InfiniteIterator::__construct RegexIterator::__construct RecursiveRegexIterator::__construct RecursiveTreeIterator::__construct ArrayObject::__construct ArrayIterator::__construct RecursiveArrayIterator::__construct SplFileInfo::__construct SplFileInfo::__toString DirectoryIterator::__construct DirectoryIterator::__toString FilesystemIterator::__construct FilesystemIterator::__toString RecursiveDirectoryIterator::__construct RecursiveDirectoryIterator::__toString GlobIterator::__construct GlobIterator::__toString SplFileObject::__construct SplFileObject::__toString SplTempFileObject::__construct SplTempFileObject::__toString SplFixedArray::__construct SplFixedArray::__wakeup MultipleIterator::__construct PDOException::__construct PDOException::__wakeup PDOException::__toString PDO::__construct Random\RandomError::__construct Random\RandomError::__wakeup Random\RandomError::__toString Random\BrokenRandomEngineError::__construct Random\BrokenRandomEngineError::__wakeup Random\BrokenRandomEngineError::__toString Random\RandomException::__construct Random\RandomException::__wakeup Random\RandomException::__toString Random\Engine\Mt19937::__construct Random\Engine\PcgOneseq128XslRr64::__construct Random\Engine\Xoshiro256StarStar::__construct Random\Randomizer::__construct ReflectionException::__construct ReflectionException::__wakeup ReflectionException::__toString ReflectionFunctionAbstract::__toString ReflectionFunction::__construct ReflectionFunction::__toString ReflectionGenerator::__construct ReflectionParameter::__construct ReflectionParameter::__toString ReflectionType::__toString ReflectionNamedType::__toString ReflectionUnionType::__toString ReflectionIntersectionType::__toString ReflectionMethod::__construct ReflectionMethod::__toString ReflectionClass::__construct ReflectionClass::__toString ReflectionObject::__construct ReflectionObject::__toString ReflectionProperty::__construct ReflectionProperty::__toString ReflectionClassConstant::__construct ReflectionClassConstant::__toString ReflectionExtension::__construct ReflectionExtension::__toString ReflectionZendExtension::__construct ReflectionZendExtension::__toString ReflectionAttribute::__toString ReflectionEnum::__construct ReflectionEnum::__toString ReflectionEnumUnitCase::__construct ReflectionEnumUnitCase::__toString ReflectionEnumBackedCase::__construct ReflectionEnumBackedCase::__toString ReflectionFiber::__construct AssertionError::__construct AssertionError::__wakeup AssertionError::__toString SimpleXMLElement::__construct SimpleXMLElement::__toString SimpleXMLIterator::__construct SimpleXMLIterator::__toString PharException::__construct PharException::__wakeup PharException::__toString Phar::__construct Phar::__destruct Phar::__toString PharData::__construct PharData::__destruct PharData::__toString PharFileInfo::__construct PharFileInfo::__destruct PharFileInfo::__toString PhpToken::__construct PhpToken::__toString GMP::__construct Collator::__construct NumberFormatter::__construct MessageFormatter::__construct IntlDateFormatter::__construct IntlDatePatternGenerator::__construct ResourceBundle::__construct IntlGregorianCalendar::__construct Spoofchecker::__construct IntlException::__construct IntlException::__wakeup IntlException::__toString IntlRuleBasedBreakIterator::__construct UConverter::__construct

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.68 ms | 417 KiB | 8 Q