<?php
$number = 2; $str = "Shanghai"; $txt = sprintf("There are %u million cars in %s.",$number,$str); echo $txt; ?>本文共 165 字,大约阅读时间需要 1 分钟。
<?php
$number = 2; $str = "Shanghai"; $txt = sprintf("There are %u million cars in %s.",$number,$str); echo $txt; ?>转载于:https://my.oschina.net/u/588516/blog/1186885