<?php $str = '中國心連心化肥'; $chinese = preg_match("/\p{Han}+/u", $str); echo $chinese; // echo strlen(); // echo $str;
You have javascript disabled. You will not be able to edit any code.