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 |
What is whitespace in php?
How many php functions are there?
How can image properties be retrieved in php?
Tell me how can you pass a variable by reference?
What are the differences between php constants and variables?
Tell me what is the difference between get and post?
How to Retrieve the Session ID of the Current Session?
Is null check in php?
How is it possible to return a value from a function?
which institute provide better PHP trainning in delhi? please tell me how much salary can freshers get ? thanku
Is age an interval or ratio?
What are the advantages of oops in php?