示例 #1 PHP 7+ 字符串转换的例子,不适合用于中文
<?php echo strrev("Hello world!"); // 输出 "!dlrow olleH"
Output of the above example in PHP 8.5.0: Would you like a green or red apple?