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 |
Tell me what is the main difference between php 4 and php 5?
What is return value in php?
How to download the files using PHP
What is prepare in php?
What is curl php?
How break and continue while loop in php?
how to overcome server time behind twleve hours compare to local system time
What is the main difference between require() and require_once()?
Explain soundex() and metaphone().
How to find out, how a user visited a particular page?
What is the difference between characters 34 and x34?
Is php procedural or oop?