3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $class = 'FilterIterator'; var_dump(unserialize(sprintf( 'O:%d:"%s":0:{}', strlen($class), $class )));
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Cannot instantiate abstract class FilterIterator in /in/4pCJE:6 Stack trace: #0 /in/4pCJE(6): unserialize('O:14:"FilterIte...') #1 {main} thrown in /in/4pCJE on line 6
Process exited with code 255.
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
Fatal error: Cannot instantiate abstract class FilterIterator in /in/4pCJE on line 8
Process exited with code 255.
Output for 4.3.0 - 4.4.9
object(__PHP_Incomplete_Class)(1) { ["__PHP_Incomplete_Class_Name"]=> string(14) "filteriterator" }