define('WEBHOST','blog'); $wso = array(); $wso['blog'] = 'www.weixiaodeyu.com'; $wso['WEBHOST'] = 'www.jb51.net'; echo $wso[WEBHOST]; //output www.weixiaodeyu.com
$wso = array();
$wso['blog'] = 'www.weixiaodeyu.com';
$wso['WEBHOST'] = 'www.jb51.net';
echo $wso[WEBHOST]; //output www.weixiaodeyu.com