1
0

test-const.php 167 B

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