getAnnotations(); foreach ($annotations as $type => $bag) { if (!array_key_exists('skipIfHHVM', $bag)) { continue; } if (defined('HHVM_VERSION')) { $this->markTestSkipped('This test does not run on HHVM'); } } } }