3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach(spl_classes() as $key=>$value) { echo $value."\n"; }
Output for 5.4.0 - 7.1.0
AppendIterator ArrayIterator ArrayObject BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator Countable DirectoryIterator DomainException EmptyIterator FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OuterIterator OutOfBoundsException OutOfRangeException OverflowException ParentIterator RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMinHeap SplMaxHeap SplObjectStorage SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplTempFileObject UnderflowException UnexpectedValueException
Output for 5.3.0 - 5.3.29
AppendIterator ArrayIterator ArrayObject BadFunctionCallException BadMethodCallException CachingIterator Countable DirectoryIterator DomainException EmptyIterator FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OuterIterator OutOfBoundsException OutOfRangeException OverflowException ParentIterator RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMinHeap SplMaxHeap SplObjectStorage SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplTempFileObject UnderflowException UnexpectedValueException
Output for 5.2.0 - 5.2.17
AppendIterator ArrayIterator ArrayObject BadFunctionCallException BadMethodCallException CachingIterator Countable DirectoryIterator DomainException EmptyIterator FilterIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException NoRewindIterator OuterIterator OutOfBoundsException OutOfRangeException OverflowException ParentIterator RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RegexIterator RuntimeException SeekableIterator SimpleXMLIterator SplFileInfo SplFileObject SplObjectStorage SplObserver SplSubject SplTempFileObject UnderflowException UnexpectedValueException
Output for 5.1.2 - 5.1.6
AppendIterator ArrayIterator ArrayObject BadFunctionCallException BadMethodCallException CachingIterator Countable DirectoryIterator DomainException EmptyIterator FilterIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException NoRewindIterator OuterIterator OutOfBoundsException OutOfRangeException OverflowException ParentIterator RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RuntimeException SeekableIterator SimpleXMLIterator SplFileInfo SplFileObject SplObjectStorage SplObserver SplSubject SplTempFileObject UnderflowException UnexpectedValueException
Output for 5.1.0 - 5.1.1
AppendIterator ArrayIterator ArrayObject BadFunctionCallException BadMethodCallException CachingIterator Countable DirectoryIterator DomainException EmptyIterator FilterIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException NoRewindIterator OuterIterator OutOfBoundsException OutOfRangeException OverflowException ParentIterator RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RuntimeException SeekableIterator SimpleXMLIterator SplFileObject SplObjectStorage SplObserver SplSubject UnderflowException UnexpectedValueException
Output for 5.0.5
ArrayIterator ArrayObject CachingIterator CachingRecursiveIterator DirectoryIterator FilterIterator LimitIterator ParentIterator RecursiveDirectoryIterator RecursiveIterator RecursiveIteratorIterator SeekableIterator SimpleXMLIterator
Output for 5.0.0 - 5.0.4
ArrayObject ArrayIterator CachingIterator CachingRecursiveIterator DirectoryIterator FilterIterator LimitIterator ParentIterator RecursiveDirectoryIterator RecursiveIterator RecursiveIteratorIterator SeekableIterator SimpleXMLIterator
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: spl_classes() in /in/MXA9n on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: spl_classes() in /in/MXA9n on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: spl_classes() in /in/MXA9n on line 2