<?php $test = '中'; $anchor = html_entity_decode($test, ENT_COMPAT, 'UTF-8'); if (preg_match("/[\p{Han}]/simu", $anchor)) { echo 'Yay'; } ?>
You have javascript disabled. You will not be able to edit any code.