以下是一个使用PHP中的uni函数进行字符串操作的实例。uni函数在PHP中用于获取一个字符串的Unicode编码。

字符串Unicode编码
Hello72,101,108,108,111
World87,111,114,108,100

```php

实例php uni,PHP实例:使用uni函数进行字符串操作  第1张

// 定义一个字符串

$string = "