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 use of header() function in php? What the limitation of header()?
programm for factorial
How about integrating an iKode Newsletter Server at my independent Wordpress blog site? I just wanna visitort can subscribe my blog when they like it and I can send some interested articles or events to them regularly to establish good relationship.
How can you declare a constant variable in php?
Explain array_uintersect()?
What is the difference between characters 34 and x34?
What is psr in php?
What is regular expression in php?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
What is array and function?
Tell me how is it possible to remove escape characters from a string?
Why using the htaccess file