3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class PHPUnit_Framework_Error { } class PHPUnit_Framework_Error_Warning extends PHPUnit_Framework_Error { public static $enabled = TRUE; } $exception = 'PHPUnit_Framework_Error_Warning'; var_dump($exception::$enabled);

preferences:
38.53 ms | 402 KiB | 5 Q