3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = new ReflectionClass('ArithmeticError'); var_dump($c->getConstants(), $c->getMethods()); var_dump(get_parent_class("ArithmeticError"));

preferences:
45.6 ms | 402 KiB | 5 Q