1 2 3 4 5 6 7 8 9 10
<?php /** * Class BadClass - accessing consts on blacklisted classes is not allowed */ class BadClass { public function foo() { $bar = OC_API::ADMIN_AUTH; } }