Y
Q. What will be the output of the following PHP code?
<?php $user = array("Ashley", "Bale", "Shrek", "Blank"); for ($x=0; $x < count($user) - 1; $x++) { if ($user[$x++] == "Shrek") continue; printf ($user[$x]); } ?>
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 replace text within a string?
Q. What will be the output of the following PHP code ?
Q. What will be the output of the following PHP code?
Q. Which of the following is the correct way to add a comment in PHP code?
Q. What will be the output of the following PHP code ?
Q. What will be the output of the following php code?
Q. Which of the following is the use of strpos() function in PHP?
Q. What will be the output of the following PHP code ?
Discusssion
Login to discuss.