'opcache', 'zend-opcache' => 'opcache', 'zendopcache' => 'opcache', ]; // spc lock type const SPC_LOCK_SOURCE = 1; // lock source const SPC_LOCK_PRE_BUILT = 2; // lock pre-built // file replace strategy const REPLACE_FILE_STR = 1; const REPLACE_FILE_PREG = 2; const REPLACE_FILE_USER = 3; // library build status const LIB_STATUS_OK = 0; const LIB_STATUS_ALREADY = 1; const LIB_STATUS_BUILD_FAILED = 2; const LIB_STATUS_INSTALL_FAILED = 3; // build target type const BUILD_TARGET_NONE = 0; // no target const BUILD_TARGET_CLI = 1; // build cli const BUILD_TARGET_MICRO = 2; // build micro const BUILD_TARGET_FPM = 4; // build fpm const BUILD_TARGET_EMBED = 8; // build embed const BUILD_TARGET_ALL = 15; // build all // doctor error fix policy const FIX_POLICY_DIE = 1; // die directly const FIX_POLICY_PROMPT = 2; // if it can be fixed, ask fix or not const FIX_POLICY_AUTOFIX = 3; // if it can be fixed, just fix automatically // pkgconf patch policy const PKGCONF_PATCH_PREFIX = 1; const PKGCONF_PATCH_EXEC_PREFIX = 2; const PKGCONF_PATCH_LIBDIR = 4; const PKGCONF_PATCH_INCLUDEDIR = 8; const PKGCONF_PATCH_CUSTOM = 16; const PKGCONF_PATCH_ALL = 31; // autoconf flags const AUTOCONF_LIBS = 1; const AUTOCONF_CFLAGS = 2; const AUTOCONF_CPPFLAGS = 4; const AUTOCONF_LDFLAGS = 8; const AUTOCONF_ALL = 15; ConsoleLogger::$date_format = 'H:i:s'; ConsoleLogger::$format = '[%date%] [I] %body%';