What is the result of : $a = "abcd"; if(strpos('a', $a)) { return true; } else { return false; }
Correct Answer: false
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
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
$x = 10.88; echo (int) $x;
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.
Is sizeof() function returns the number of elements in an array?