0
未定義恆定INTL_ICU_VERSION的使用 - 假定「INTL_ICU_VERSIONPHP通知 - YII 基 ErrorException
Yii框架/ 2.0.7
$檢查[] =陣列( '標題'= > Yii :: t('base',$ title), 'state'=>'ERROR', 'hint'=>'安裝INTL擴展' ); }
$icuVersion = (defined('INTL_ICU_VERSION')) ? INTL_ICU_VERSION : 0; $icuMinVersion = '4.8.1'; $title = 'PHP - INTL Extension - ICU Version (' . INTL_ICU_VERSION . ')'; if (version_compare($icuVersion, $icuMinVersion, '>=')) { $checks[] = array( 'title' => Yii::t('base', $title), 'state' => 'OK' ); } else { $checks[] = array( 'title' => Yii::t('base', $title), 'state' => 'WARNING' 'hint' => 'Install INTL Extension' ); } $icuVersion = (defined('INTL_ICU_VERSION')) ? INTL_ICU_VERSION : 0; $icuMinVersion = '4.8.1'; $title = 'PHP - INTL Extension - ICU Version (' . INTL_ICU_VERSION . ')'; if (version_compare($icuVersion, $icuMinVersion, '>=')) { $checks[] = array( 'title' => Yii::t('base', $title), 'state' => 'OK' ); } else {