Пример #1
0
 protected function getEnvironment()
 {
     if (version_compare(phpversion(), '5.3.0', '>=')) {
         return include 'PHP53/TestInclude.php';
     }
     return parent::getEnvironment();
 }
Пример #2
0
 protected function getEnvironment()
 {
     if (PHP_VERSION_ID >= 50300) {
         return include 'PHP53/FunctionInclude.php';
     }
     return parent::getEnvironment();
 }