<?php//PHP 中没有 char 类型,只有 string $charA = 'A';echo "type: ", gettype($charA), "\n";$str = "character " . $charA;//str is "character A"echo $str;