write function of the sentence traversal passing the
parameter, e.g input:this is input sentence.
output:sentence input is this.
Answer / vipul dalwala
$input = "this is input sentence";
$array = explode(' ', $input);
$output = implode(' ' , array_reverse($array));
print $output;
| Is This Answer Correct ? | 6 Yes | 0 No |
Is nan in javascript?
How to find datatype of variable in php?
what is view?
How can use sys time in loop?
What are the benefits of composer?
Explain me is multiple inheritance supported in php?
How do you define a constant in php?
Is php deprecated?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
Which php framework is best for security?
How can I check if a value is already in an array?
3 Answers Rushmore Consultancy,
what is php stands for?
23 Answers Infosys, Satyam, Torque Infotech,