P
Q. What is the result of the following PHP code?
<?php $array = array (1, 2, 3, 4, 1); $sum = 0; for ($i = 0; $i < 4; $i++) { $sum += $array[$array[$i]]; } echo $sum; ?>
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which function is used to convert the ASCII value to the character?
Q. what is the output of below program?
Q. What will be the output of the following PHP code ?
Q. Which of the looping statements is/are supported by PHP?
Q. What is the opposite function of explode()?
Q. What will be the output of the following PHP code ?
Q. what is the output of below program?
Q. Say we have two compare two strings which of the following function/functions can you use?
Discusssion
Login to discuss.