3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reflection = new ReflectionClass("LogicException"); $methods = $reflection->getMethods(ReflectionMethod::IS_PUBLIC); foreach ($methods as $method) { print_r($method->getName()); echo "\n"; }

preferences:
45.84 ms | 402 KiB | 5 Q