What is the output for the following code? <?php $value1=5; $value2= $value1--; $value2= $value1++; echo $value2; ?>
Correct Answer: 4
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What is the result of : $a = 'abcd'; if(strpos('a', $a)) { return true; } else { return false; }
Which subversion of PHP5 adds short array syntax?
In mail($param1, $param2, $param3, $param4), the $param2 contains:
Name of the function to check the variable type is object
( (4 >= 4 && 8 < 1) || (44 == 33 || 5 > 3) ) will return
Which methods should be used for sending an email using the variables $to, $subject, and $body?
Best practice for running MySQL queries in PHP? Consider the risk of SQL injection.
What does the array_combine (a, b) function do?
What is the associativity of +=?
Which fopen option opens the file for reading and writing; placing the file pointer at the beginning of the file without truncating it.