Subversion Repositories oidplus

Rev

Rev 1042 | Rev 1439 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1042 Rev 1411
Line 1324... Line 1324...
1324
            unset($vals[count($vals) - 1]);
1324
            unset($vals[count($vals) - 1]);
1325
        }
1325
        }
1326
 
1326
 
1327
        return array_reverse($vals);
1327
        return array_reverse($vals);
1328
    }
1328
    }
-
 
1329
 
-
 
1330
    /**
-
 
1331
     * @return bool
-
 
1332
     */
-
 
1333
    protected static function testJITOnWindows()
-
 
1334
    {
-
 
1335
        if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' && function_exists('opcache_get_status') && !defined('PHPSECLIB_ALLOW_JIT')) {
-
 
1336
            $status = opcache_get_status();
-
 
1337
            if ($status && isset($status['jit']) && $status['jit']['enabled'] && $status['jit']['on']) {
-
 
1338
                return true;
-
 
1339
            }
-
 
1340
        }
-
 
1341
        return false;
-
 
1342
    }
1329
}
1343
}