3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new class {}; class_alias(get_class($a), 'A'); class B extends A{} $b = new B; print serialize($b);