예제 #1
0
파일: TestHandler.php 프로젝트: xnovk/test
 private function initiatePhpVersion($version, PhpExecutable $php)
 {
     if (preg_match('#^(<=|<|==|=|!=|<>|>=|>)?\\s*(.+)#', $version, $matches) && version_compare($matches[2], $php->getVersion(), $matches[1] ?: '>=')) {
         return array(Runner::SKIPPED, "Requires PHP {$version}.");
     }
 }