<?php $str = "𸽵"; $str = preg_replace_callback( '/\&\#([0-9]+)\;/m', function($matches) { var_dump($matches); return strtoupper($matches[1]); }, $str ); echo $str;
You have javascript disabled. You will not be able to edit any code.