有什么需要修正的吗

来源:1-6 编程练习

慕后端0484621

2017-09-20 14:03:30

<?php

$name = 'stefen';
$call = '10795856';
$motto = 'If you shed tears when you miss the sun,then you would miss the stars';

echo strlen($name)+strlen($call)+strlen($motto);
?>


写回答

1回答

好帮手慕查理

2017-09-20

您好,您的代码可以实现功能。但是您也可以根据题目中的任务去实现功能哦~先将变量值连接,在计算长度,连接时可使用空格,也可不使用,不做具体要求。(使用几个空格后结果会在原有基础上添加哦83+n)祝学习愉快!

0

0 学习 · 4928 问题

查看课程