- var_dump: documentation ( source)
- json_decode: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$unicodeChar = '\uc3ba';
$string = json_decode('"'.$unicodeChar.'"');
echo "String is $string \n";
$result = preg_match_all( '/\X/u' , $string , $matches , PREG_SET_ORDER );
echo "Result is :".$result."\n";
var_dump($matches);
exit(0);