?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
echo str_pad("Salad", 5)." is good.";
?>
<?php
echo str_pad("Salad", 5)." is good.";
?>
Answer & Solution
Correct Answer:
Option
D
The str_pad() function pads a string with a specified number of characters.
Join the Discussion
Login to post a comment or share your explanation.
Login