简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="UTF-8"/> <?php function writeName($fname) { echo $fname . " Refsnes.<br>"; } echo "My name is "; writeName("Kai Jim"); echo "My sister's name is "; writeName("Hege"); echo "My brother's name is "; writeName("Stale"); ?> <p>PHP 基础教程 - 简单教程(www.twle.cn)</p>
运行结果: