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 to display your correct URL of the current web page?
How long is csrf token?
How does api connect to database?
Which is better php or nodejs?
What are the differences between GET and POST methods in form submitting?
What is php session_start() and session_destroy() function?
Is php a float?
What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
explain php variable length argument function.
How to get ip address of a server in php?
List some of the features of php7.
If there are 10 text boxes in a form having same name, their value are different. Value of which textbox will be received on action script?
20 Answers A1 Technology, Bajaj, DG, Genpact,