菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码
运行
保存
<html> <body> <?php $number = 9; $str = "Beijing"; $txt = vsprintf("There are %u million bicycles in %s.",array($number,$str)); echo $txt; ?> </body> </html>
运行结果
<!DOCTYPE html> <html> <body> There are 9 million bicycles in Beijing. </body> </html>