Single Choice
Not Set
QWhat will be the output of the following PHP code?
< ?php
echo str_pad("Salad", 5)." is good.";
?>
ID: #2398
PHP String and Regular Expression
565 views
Question Info
#2398Q ID
Not SetDifficulty
PHP String and Regular ExpressionTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The str_pad() function pads a string with a specified number of characters.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic