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 |
How can cross site request forgery csrf be prevented?
Explain what is smarty?
Applications written to provide a GUI shell for Unix and Linux are called
What's the difference between using mysql_ functions and pdo?
What is magic function in php?
What are php strings?
Name and explain five of the PHP error constants?
Can I include php in javascript?
What is $_ request in php?
How we can get the number of elements in an array?
Tell me can you extend a final defined class?
Tell me what is the definition of a session?