這是 Codecademy Learn PHP 中的一項任務。任務是將其列印到一行代碼中。
<?php
function first()
{
return "You did it!\n";
}
function second()
{
return "You're amazing!\n";
}
function third()
{
return "You're a coding hero!\n";
}
// Write your code below:
這是我所擁有的:
echo first() second() third();
uj5u.com熱心網友回復:
請尋找PHP 字串運算子連接運算子是.您需要的:
echo first() . second() . third();
看現場例子
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/448536.html
標籤:php
