dié liàn huā
蝶恋花
dú xiàng cāng láng tíng wài lù, liù qū lán gàn, qū qū chuí yáng shù.
独向沧浪亭外路,六曲栏干,曲曲垂杨树。
zhǎn jǐn é huáng qiān wàn lǚ, yuè zhōng bìng zuò méng méng wù.
展尽鹅黄千万缕,月中并作濛濛雾。
yī piàn liú yún wú mì chù, yún lǐ shū xīng, bù gòng yún liú qù.
一片流云无觅处,云里疏星,不共云流去。
bì zhì xiǎo chuāng zhēn zì wù, rén jiān yè sè hái rú xǔ.
闭置小窗真自误,人间夜色还如许。
独向沧浪亭外路,六曲栏干,曲曲垂杨树。展尽鹅黄千万缕,月中并作濛濛雾。一片流云无觅处,云里疏星,不共云流去。闭置小窗真自误,人间夜色还如许。
#1253 | <?php |
#1254 | $sentence = $gdata['title']; |
#1255 | $pattern = '/[^\p{L}\p{N}\s]/u'; |
#1256 | $cleanSentence = preg_replace($pattern, '', $sentence); |
#1257 | $characters = utf8_str_split($cleanSentence); |
#1258 | $processedChars = array(); |
#1259 | foreach ($characters as $char) { |
#1260 | if (!preg_match('/\s/', $char) && !in_array($char, $processedChars)) { |
#1261 | $processedChars[] = $char; |
#1262 | echo '<a href="/search/mid_7/' . urlencode($char) . '" class="c1" target="_blank">' . htmlspecialchars($char) . '</a> '; |