<?php $x = false or true; $y = false || true; var_dump($x); var_dump($y);
Correct Answer: bool(false) bool(true)
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's the output?
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
Which is used to maintain the value of a variable over different pages?
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 +=?